« first day (2341 days earlier)      last day (2798 days later) » 

06:08
In finding integral triplest (a,b,c) such that a*b*c divides (a+b+c)^2, I wrote this follwoing C code:
def f():f()
f()
#include <stdio.h>

int getint(void);
int getint(void){
    int c;
    int i=0;
    c = getchar();
    do {
        i = (10*i)+c-'0';
        c = getchar();
    }
    while(c>='0' && c<='9');


    return i;
}

int main(){
    int N,i,j,k;
    int a,b;
    N = getint();
    printf("Integer recieved is %d \n Action starting :P \n ------------------ \n",N);
    for(i = 1; i<= N; i++){for(j = i; j<=N; j++){for(k = j; k<=N; k++){ a = (i+j+k)*(i+j+k); b = (i*j*k); if ((a%b)==0){ printf("(%d, %d, %d), [%d / %d = %d] \n",i,j,k,a,b,a/b); }}}}
Unfortunately, for very large numbers, it takes it modulo 2^something, so it doesn't works. So what should I do ?
(Anybody knowing C can discuss it here, or here)
So hold on, what exactly does this do?
@HyperNeutrino My shitty code ?
"shitty" eh ¯\_(ツ)_/¯ but yeah what does the C code do
Hm. Interesting. Mod diamonds don't show up when a user is entering a room (though their name is blue). (cc @MartinEnder)
06:12
@HyperNeutrino Scroll a bit above.
@HyperNeutrino That's a doppelganger of @MartinEnder :P
no but like given N what does it do
Given an integer N, it outputs all integral tuples (i,j,k) (nondecreasing) such that i*j*k divides (i+j+k)**2
Where 0 < i, j, k < N?
Ah okay.
So you're just brute-forcing with O(n^3)?
(I don't see how I would do it better lol)
06:16
(Maybe N+1 or N-1, edge cases are a bit fuzzy and it messes by brain to think about sign errors in edge cases so I didn't think much about what happens near N)
@Emigna You know C ?
Haven't used it much I'm afraid
O((N+1)^3) = O(N^3 + 3N^2 + 3N + 1) = O(N^3)
@DLosc I'm glad to hear it! :)
Do you mean the looping in general, or the return value?
I don't know about O(stuff), anybody knows anything about my problem ?
@AlexKChen You're using 32-bit integers. You could at least get a bit farther with 64- (or 128-) bit integers.
06:18
Does someone have the patience and time to explain what in the world O(stuff) complexity is? What does it measure - performance or sth?
It could measure number of operations, amount of storage required, etc.
And what does O mean?
@feersum What should I change in the line int a,b; to do that ?
int64_t
O -> Operations??
06:20
int64_t a,b; @feersum ?
I don't know :P I just know how to use it.
@HyperNeutrino Thanks anyway.
And anywhere else you need it to not overflow.
No problem. I can explain what it is if you'd like, but I don't know what the O means (or omega, or theta).
O -> Order
v
https://en.wikipedia.org/wiki/Big_O_notation
New APL-like face: Ω.Ω
06:21
@feersum ?
@DJMcMayhem The fact that the values inside, from all iterations of the loop, are added up and returned. I think I just assumed the return value would be from the last iteration or something.
I am about to get the tag badge on SO Ω.Ω
:o nice. what level?
Bronze
ooo nice
06:24
97 / 20 answer, 89 / 100 score
lol 97/20 answers
Exactly
;)
Then again I had 24/5 questions before getting the Curious badge xD
I get like, 1upvote/answer
because the swift community is really lazy
06:25
and they hate clicking the +1 button ://
0
A: Sandbox for Proposed Challenges

HyperNeutrinoGuess if the relation converges, diverges, or oscillates test-batterymathdecision-problem Challenge Unfortunately, the nature of this challenge only allows languages where a relation can be described as either a function as an object (Python), a lambda as a function (Python, Java, Ruby, etc), a...

then use some other language
@DLosc Yeah, it's a super cool property. It allows for easy representation of polygonal numbers
@NewSandboxedPosts How the hell is NSP this fast?
And this is absolutely gorgeous: Try it online!
06:26
That literally took NSP 43 seconds :o
@HyperNeutrino Someone told me: "Very nice answer. This will totally help the OP", and my score was 0...
@HyperNeutrino I got frustrated and began using Python
Oh wait, that doesn't actually use it, haha
@DJMcMayhem is this WW's floor sqrt n?
@Mr.Xcoder Ah I see. SO things either get way too many upvotes or not enough
In python I have 30/20 answers and 36/100 score
25k upvotes
means 25k rep :))
06:28
No it means 2.5M
Who likes 7kb cat programs in Brainfuck?
except capping probably
Is there no better way of doing cat?
,[.,] doesn't exist?
@HyperNeutrino It actually means 250k
Nor of us was right :))
That sounds much less exciting.
right i multiplied by 100 for whatever reason >.<
too tired i should be sleeping rn
06:30
@DestructibleLemon That fu**** my Brain, indeed
CMC: tac; that is, take a single line of input and output it reversed.
BF: ,[>,]<[.<]
@HyperNeutrino Python, 20 bytes: print(input()[::-1])
Anybody my problem here ?

 The C Programming Language

General discussion about the C programming language, usage, sy...
I should change it to default I/O actually.
CMC: tac; that is, given a string, reverse it.
(Not my room, so I don't think I would be banned for promothin)
06:32
there's no problem with linking chatrooms for help usually.
So the python solution could become lambda x:x[::-1]
@HyperNeutrino Python, 16 bytes: lambda n:n[::-1]
Hey
@HyperNeutrino No it's WW's square root of an input that is guaranteed to be square
Jelly, 1 byte: U.
In swift it would be frustratingly long:
06:33
@DJMcMayhem oh ok so that's why the output exceeded 128KiB for 10.
lol
@HyperNeutrino V, 1 byte: æ
@HyperNeutrino Weird. I don't think 10 should output anything, since it doesn't terminate
æ looks almost the same when turned 180 degrees lol.
@DJMcMayhem well it keeps producing whitespace until it went over the limit probably
CMC: a XNOR b (cc @xnor)
It still puzzles me why Python doesn't have a reverse function. It wouldn't be better for golf, of course, but usually "Readability counts," so...
But it shouldn't output anything until it terminates
Weird.
I'm going to bed, good night all!
Goodnight DJ! :D
06:36
Good morning too @DJMcMayhem !
G'night!
Although this is not the most interesting challenge in the World, I think I'm going to post it today.
@DLosc it does
For lists, but not for strings.
Oh wait--it's reversed.
How to specify 6
...4 bit integers in C ?
06:44
I amend my previous comment: it still puzzles me why the [::-1] idiom is so popular that I forgot reversed existed. :P Though maybe it's because I hang out here too much.
@AlexKChen you mean 4 bytes?
@LeakyNun Come in the C room.
Anonymous
@DLosc [::-1] is shorter so it is obviously better. I often forget that reversed exists, too :P
Anonymous
It would be nice to have some way to reverse definitely-finite generators without completely consuming them first, but that will never happen.
Hm, yes, it's also true that reversed gives a generator-like object instead of a string. Possibly more efficient, probably less convenient.
06:50
I love JS, because arrays are only probably arrays.
@DLosc it gives the language flavour
''.join is part of the soul of python
Anonymous
@DLosc That's a good thing. Generators should be used whenever convenient if they add efficiency without sacrificing legibility.
and for i in range(something): and not using i
Anonymous
@DestructibleLemon That's when _ should be used. Or better yet, use map.
Never
for i in etc. 4 life
Anonymous
06:53
Functional programming is a thing of beauty
Go learn Husk then!
Anonymous
My time is occupied by a decently-large work project I'm working on
@Fatalize Better Go learn Haskell, then!
Anonymous
So no time for new languages right now
@Mr.Xcoder Husk is to Haskell what Pyth is to Python
kind of
Anonymous
06:55
And any spare time I do have, I use to blow off steam by either hanging out with my wife, playing Factorio, or playing SpeedRunners
for _ in range(n) is also present in swift, in the form of for _ in 0..<n
it was only recently I learned ''.join can be used on strings
Anonymous
@DestructibleLemon I shudder at the thought of what you were previously using, given that ''.join is the obvious and preferred method of joining strings
This is totally the Strangest question I have ever posted:
0
Q: HyperNeutrino is back!

Mr. XcoderToday, @HyperNeutrino succeeded merging his two accounts, and finally got the reputation he lost back. Now, it's time to celebrate! Your task is to output this exact text: /\ / \ / \ / \ / \ / ...

It has +11/-11 and 11 answers
@DestructibleLemon Flavor is good as long as it makes sense and isn't annoying to type. if __name__ == "__main__": is one of my least favorite things about Python. (But I like most everything else about it.)
06:59
@DLosc Why do you use it then?
And in the timeit module, another strangeness: timeit.timeit('function(9)','from __main__ import function',times=1000).
@Mr.Xcoder It's how you can specify some code that executes if you run a file as the main program, but doesn't execute if you import the file from somewhere else. I don't know of any other way to accomplish that (but if there is one, please let me know).
@DLosc No, I don't. I only use Playground-code in Python (just for code golf and basic SO questions)
Ah, I see.
@Mego no, as in 'a'.join("hhhh") -> "hahahah"
07:25
What are your favourite golfing language and highly-used non-golfing programming language? (asking everyone who is willing to answer), because it is interesting to see combinations between these types of languages
Personally, I am learning Pyth, so Pyth is the favourite golfing language while Swift and Python are my favourite highly-used langauges.
Jim
Jim
@Mr.Xcoder The only golfing language I know is Pyth, so that's Pyth. And I highly use Python and Java for real work
@Jim Nearly the same :P. Except for the "rivals" Swift and Java
@Mr.Xcoder of course it's Jelly...but Pyth and CJam are also interesting
And high-use :)
Anonymous
@Mr.Xcoder Actually/Python
Anonymous
07:36
I might be a bit biased, though
And my question now: Seriously? :P
Ok gtg now. sya!
Jim
Jim
I feel like the golfing language that's growing quickly on CG is 05ab1e
Anonymous
Yeah 05ab1e is pretty popular. Jelly is also very popular. I'm kinda sad that those two overshadow Actually, even though Actually regularly has comparable scores.
@Mego it definitely wins the hello world (every other character) challenge
(solution already posted by Okx: HH)
Anonymous
I haven't looked at that challenge yet. I'm guessing that the challenge is "write a program such that taking all of the even bytes or all of the odd bytes both output HW"?
07:43
@Mego not exactly
10
Q: Parse a list of lists into a Sad-List

Destructible LemonIn this challenge, you must parse a list of lists, into a simpler list format. This challenge is based on my sadflak parser. In my sadflak parser, it has all the () removed, replaced with the sum of the ()s at the start of the list, to make the program run faster. To parse into a Sad-List, you ...

@LeakyNun ono that's completely wrong challenge
no, I mean, I would like Mego to do this
in Actually
Anonymous
I'll take a look at it
@LeakyNun then you misclicked some reply button...I see you edited
07:45
@Jim It it? I feel like it's been popular for months now
Jim
Jim
@Fatalize I'm new to PPCG, but from what I see, 05ab1e is a fairly new language, and I already see it in a lot of answers. And often it performs better than others
Jelly and 05AB1E definitely dominate challenges nowadays, both in terms of scores and number of answers
Languages like Pyth, CJam, Actually and even MATL I feel have decreased in popularity
@Fatalize there is no predicate for count?
@LeakyNun what do you mean?
@Fatalize a.count(b)
@Fatalize I'm seeing increased number of learners of Pyth
07:50
@LeakyNun I'm still not sure what you mean
Jim
Jim
After checking, the first commit to 05ab1e has been made on December, 21st, 2015. That's older than I thought
@Fatalize Brachylog.
@Jim The first github commit is … god damnit ninja'd
number of occurrences of b in a.
07:51
@Fatalize ọ ok
There's also the meta-predicate ᶜ - count
@Fatalize what's wrong with this?
I haven't seen a CJam answer in months
When I first joined PPCG, It was dominated by J, GolfScript and CJam
I haven't seen GolfScript in a long time either
@LeakyNun [1,Output] isn't an integer
@Mr.Xcoder Pretty much only Peter Taylor and Martin Ender use CJam
@Fatalize I haven't seen @PeterTaylor post a CJam answer either in a long time
07:56
@Fatalize I removed ℕ and it is still false
Oh, I actually have
22 hours ago
actually many people still use cjam
How to check if the input is equal to the output in Brachylog?
Jim
Jim
@EriktheOutgolfer but a few use Actually
mostly Mego
07:58
Does ?. work?
@Mr.Xcoder Empty program
@Mr.Xcoder Yes
@Fatalize Ooh, nice
Is it Prolog-based?
that's why I don't know Brachylog yet...I don't even know Prolog...D:
and the docs assume I do...
@LeakyNun is stupid and needs to be fixed when using a subscript
gtg, bye
08:01
gg
Anonymous
@LeakyNun Done
@Mego :o I didn't know recurse exists
Anonymous
It does sort of, and it was entirely by accident
Anonymous
Q pushes the current scope's code (it's a quine builtin)
08:13
oh...
Anonymous
It's not usually very useful, but when it is, it's practically mandatory
2
Q: Fizz-Buzzify a String

Mr. XcoderYou will be given a String that only contains letters of the English Alphabet, both lowercase and uppercase (ASCII 65-90 and 97-122). Your task is to output the Fizz-Buzzified version of the String. How to Fizz-Buzzify a String? Each letter that has an even index in the English alphabet (the a...

@Mr.Xcoder I posted one in April, one in May, and one yesterday, but I haven't found many of the questions on PPCG this year to be interesting enough to bother golfing.
08:40
0
Q: Conciseness on a Title

goodUserConsider the following sentence taken from this Wikipedia page: It was numbered 13 to synchronize itself with the version numbering of Flash Player. The statement implies the subsequent versions of the application are syncronized with the version of the Flash Player. In other words, the nex...

golfing English
0
Q: How to shorten this long sentence?

TorresThe sum of molar concentration of A was calculated by adding the molar concentrations of compound1, and compound2, compound3, and compound4, and the molar sum of B concentration was calculated by adding the molar sum of concentrations of compound5, compound6, compound7, compound8.

golfing English part 2
Jim
Jim
@LeakyNun thirty minutes passed on my answer in Fizz-Buzzify a String just to find out you already answered in Pyth and outgolfed me of 10 bytes ><
@Jim what is your solution?
well, you didn't really waste your time. It's an experience and learning and practice in and of itself
Jim
Jim
@LeakyNun K"fizz buzz"sm@crK?>Cd90Z1\ %Cd2
Not happy with the ?>Cd90Z1 part
@Jim a boolean itself is an integer
Jim
Jim
@LeakyNun Let me golf that
08:42
and modular indexing, so you don't need %..2
and you can split the string before storing to K
and you can use c...) or c...d instead of c...\
in m the d would need to be ;
and anyone ignorant of Pyth's existence would think that I'm uttering utter gibberish.
Jim
Jim
@LeakyNun Absolutely
@LeakyNun I'm not sure if I want to split it before storing to K because that let me do only one r...1 or r...0
@Jim Leaky answered in 3 minutes, you spent 30 minutes...the question was asked 33 minutes ago, so let's say that Leaky answered exactly when you just started working on your answer
@Jim you can change the case after getting the string
Jim
Jim
@LeakyNun Right
in any case, why are you using K when you only need it once?
Jim
Jim
08:46
@LeakyNun In the first draft I used it twice. Forgot to remove it then
@EriktheOutgolfer how long did it take you to compress the strings?
umm...what strings? in my Jelly answer? I used the compressor...
You have got to love any code that starts with a close bracket :) codegolf.stackexchange.com/a/128520/9206
@Adám forgot to mention yesterday: another feature that makes .NET a lot more powerful than PCRE is it's right-to-left matching which makes it the only flavour with variable-length lookbehinds.
@EriktheOutgolfer it still takes you time right
oh and btw we tie
08:48
@LeakyNun no I reduced to 21
@EriktheOutgolfer so did I
:P
phew thank god I found the trivial golf before you found another
the jk?
(why should you ever use ;@Œu$ in Jelly...)
lol
I don't get you
08:50
yeah now it's Œu;$...the former is just disgusting Jelly
oh, lol
@MartinEnder It should still be possible to implement variable length multiple lookbehind in Perl, shouldn't it?
@WheatWizard A008478 (numbers which remain unchanged if you reverse their prime-exponent pairs), 70 bytes in Mathematica: Nest[#+1//.x_/;(1##&@@Power@@@Reverse/@FactorInteger@x!=x):>x+1&,1,#]&
@Dada what do you mean by that?
when you say "which makes it the only flavour with variable-length lookbehinds", I feel like you mean that the fact that it matches right-to-left is what allows for variable-length lookbehind to exists.. whereas I'd expect that it's possible to implement them inside perl. But peharps I misunderstood you
@MartinEnder Well, now I've made QuadR, a PCRE based competitor to Retina. In this challenge it would use almost 50% fewer bytes than the current shortest Retina answer. Looking forward to upcoming challenges which are a good fit. If you have any suggestions to challenges I should try it on (even if non-competing), let me know.
08:55
@Dada I'm not aware that it's possible to use variable-length lookbehinds (or fake them) in any other flavour. the closest thing Perl has to mimic it \K, which isn't quite the same thing
Jim
Jim
@LeakyNun Nicer answer, 23 bytes: sm@cr"fizz buzz"<d\a)Cd
It's very annoying that Chrome matches "ow" when I'm searching "ØW"
do you all see any way of overcoming that?
(I've been meaning to look for such an extension for ages, but always forgot...)
@MartinEnder vielen Dank
@MartinEnder Oh, what I meant by "inside Perl" is "modifying the Perl regex engine". They don't exist in Perl for now, but I don't see any reasons why they can't exist, but you seemed to say that they just couldn't be added to perl's regex engine
08:57
@EriktheOutgolfer did you forget the existence of O?
@Dada oh now I see. well I guess in principle they're possible, but implementing them via anything other than RTL-matching seems incredibly inefficient
@LeakyNun not sure how would it help me though...modular indexing perhaps, but there's a gap between [A-Z] and [a-z]
yeah I did think of that too
@EriktheOutgolfer the gap doesn't matter
and I don't see why you need ẋ13
@Adám "non-competing" for newer languages is no longer a thing. but it seems that one isn't shorter because of PCRE, but because you can process multiple regex/substitution pairs at once (which is quite nifty, I'll have to consider that feature for Retina)
hmm...still sleepy
09:01
@MartinEnder :-) Oh, I didn't realise the proposal had gone through. Also, time to draw lines on the grand diagram…
@EriktheOutgolfer quite apparently
@LeakyNun ohh...I don't think it'd work without it...it'd generate the list ['FIZZ', 'BUZZ', 'fizz', 'buzz']...CDCDCD would translate to fizzbuzzfizzbuzzfizzbuzz then while you need uppercase FIZZBUZZFIZZBUZZFIZZBUZZ
I don't care what your algorithm is. I only know that you can do it without ẋ13 and it would probably be golfier
@LeakyNun I should be able to do it
Okay it's finally time
today is the day I begin un-fucking Braingolf
09:07
@Mayube how?
Jim
Jim
One more byte saved: Pyth, 22 bytes: smr@c"fizzbuzz"4Cd<d\a
Don't know if I can do better with this approach
@Jim swap the two operands of r and make the d at the end implicit
and then end up with basically the same solution as mine
Jim
Jim
New solution: sm@cr"fizzbuzz"<d\a4C 21 bytes
Yeah, that's actually the same solution
That's cool
Anonymous
@Mayube That's usually not a reversible operation
2
Q: Time calculator

KNejadThis challenge is related to a project I did last year (in Ruby). To make it more fun I decided to do it in as few bytes as possible. I didn't know about code golf back then so now that I found out about it and found this community I was wondering if anybody can beat me :) The program should ret...

0
Q: Increasing, decreasing, all, none, ones or twos?

Stewie GriffinChallenge: Take two inputs, a vector/list containing digits 1 and 2 and a string (no, you may not take 0/1 instead). The string will be one of the following (in lowercase, exactly as written below: increasing decreasing ones twos all none If the string is ____ then you shall return the indice...

09:24
@LeakyNun sandboxes it, before it got any answers...
Might not have been my best challenge...
khan academy is glitchy as heck
@LeakyNun re-writing the interpreter from scratch to A: not be shit, B: Support nested conditionals and loops and C: also gunna add a bunch of literal builtins
@Mayube what about the @ that penetrates through loops?
0
A: Sandbox for Proposed Challenges

Stewie GriffinChallenge: Take two inputs, a vector/list containing digits 1 and 2 and a string (no, you may not take 0/1 instead). The string will be one of the following (in lowercase, exactly as written below: increasing decreasing ones twos all none If the string is ____ then you shall return the indice...

09:40
@LeakyNun that too
and I'm getting rid of the stupid-ass putting a number after a @ altogether
how should we go if we don't even know what %(num) is...
yeah this is glitchy as heck, like I said
@LiefdeWen Then it's not needed you'd just wrap the ternary in brackets: using System;a=>(a==null?DateTime.Now:DateTime.Now.Add(TimeSpan.Parse(a‌​))).ToString(‌​"H:mm") But I think you would need to support all input formats.
09:56
@TheLethalCoder If the question requires all those input formats then yes the solution grows by a few 100 bytes.
@LiefdeWen It's been closed now anyway but yeah it wouldn't have had been simple anymore. Although you could have used ParseExact with an array of formats which wouldn't have bumped it up too much. Not sure if you can do that on TimeSpan but it would have been just as simple to do it on DateTime I believe.
@TheLethalCoder I hope you know you are the one who drove me to posting questions rather than answering them, couldn't handle you being faster and better at every turn.
@LiefdeWen Haha it's fun golfing in C# seeing the different ways you can do it though. And you've beat me once today, would have been twice if this question hadn't been closed. Just keep going for answering, I'm not the smartest with it, always takes me a while to golf it down just learn the common tips and tricks and it's easy to get a "short" answer.
@TheLethalCoder "Just keep going for answering" :( Are my questions that bad?
@LiefdeWen I haven't looked through them and rarely look at the asker of a challenge so I wouldn't know.
@LiefdeWen But I meant that more as in don't give up answering because someone is faster and shorter, that will almost always be the case. If your approach is different post it, might be someone else can actually help you golf some off of it and yours would then be the shortest.
10:11
0
Q: Allow lower reps to see removed answers

ChristopherMany times I have had answers and found out they were invalid due to a obscure meta post. But people have said things like: "This is the 3rd time people have done this and it is still not funny", "This is still invalid just like the other removed answers". I can't see those answers and I believe ...

10:34
@TheLethalCoder Haha, Problem with C# is our approaches are rarely different, but thanks, will keep on keeping on.
10:52
@LiefdeWen For simple challenged yes, but even then there are multiple ways, as we found with the last challenge. We both posted a similar solution then I found a different solution that was only slightly longer.
somebody has been downvoting solutions here
@EriktheOutgolfer I didn't answer :P so I don't care
that's where you were luckily ultimately ninja'd I think...both Jelly and Pyth
I only see one downvoted answer on there, and it's Python
Oh yay people upvoted
11:00
CMC: remove umlauts from upper and lowercase AEIOU: Häagen-DazsHaagen-Dazs; Yogen FrüzYogen Fruz; Frusen GlädjéFrusen Gladjé; EpäjärjestelmällistyttämättömyydellänsäkäänköhänEpajarjestelmallistyttamattomyydellansakaankohan
I am working on a bf compiler for compiling a lang to bf!
@DestructibleLemon So you give it code in a language and it converts it to equivalent bf?
what language(s) does it accept?
11:04
also that's called a transpiler fyi
@Adám e and i umlaut?
@Mayube actually, a transpiler is just a compiler that does not compile to machine code
A transpiler is a compiler that "compiles" source code from one language to equivalent source code in another language
mmhm. still a compiler
maybe it would be clearer if I called it transpiler chain?
nah that doesn't have alliteration
my code:
+++++ +++++ +++++ +++++ +++++ +++++
+++++ +++++ +++++ +++++ +++++ +++++ ++
....
----- ----- ----- ----
.
+++++ +++++ +++++ ++++
..
----- ----- ----- ----
.
+++++ +++++ +++++ ++++
.
>[we just printed ">>>>+>>+>"]<
commands (ask ataco what these commands do; I have little clue about the less obvious ones):
pop: !
flip: "
peek: #
while: (
end: )
write: <period>
rand: <question mark>
dec: <minus>
inc: <plus>
zero: *
stackadd: $
stacksub: '
move: /
copy: &
read: <comma>
0123456789: push that number on to the stack
noone ever accused me of having good code formatting
TFW you're forced to install eclipse for a computer science course
11:07
@Downgoat in case you missed it, we started work on the first compiler. in fact the second language is already on the github
@totallyhuman b-but... intellij
@LeakyNun yes? OK, not "umlaut", but "diaeresis" or "trema" if you want.
11:19
@PhiNotPi Did you apply for the upgrade to the 16 qubit quantum computer?
Okx
Okx
IntelliJ > NetBeans > Eclipse >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dr. Java
you're welcome
>>>>>>>>>>>working in java without an IDE
Okx
Okx
^
as much as I like just using one thing for all my languages
0
Q: Build me a city

adelphusCoders are always trying to flatten arrays into boring 1-dimensional entities and it makes me sad. Your task is to unflatten an arbitrary string of characters, outputting a lovely city skyscape. Consider the string: aaabbbbbccqrrrssstttttttPPw It looks much better like this: tt ...

11:33
>>>>>>>>>>>>>>>>>>>>>> bluej
CMC: Given an integer, return its roman numeral equivalent
10 -> X
15 -> XV
1203 -> MCCIII
Built-ins are disallowed.
hmm
M is the largest roman numeral right?
@Dada Sorry.
@Mayube Yes
11:42
oh wait this'll be harder than I thought, I forgot about cases like IV
@Mayube Forget it. It is a dupe
@Mr.Xcoder Roman←→Arabic is a many-to-one relationship.
@Adám True
How to gently tell one that I've golfed they're answer without knowing the programming language at all?
Just don't mention that you don't know the language (although in my experience that leaves no excuse when it turns out it doesn't work)
@Mr.Xcoder "Can you shorten longcode to shtcde?"
11:47
@Adám Yes, already done.
Golfed 10 bytes by removing whitespace :/

« first day (2341 days earlier)      last day (2798 days later) »