« first day (2368 days earlier)      last day (2474 days later) » 

6:00 PM
If it doesn't work, I was wrong and it only saves two. :P
 
@Dennis æ«×æ» would just do æ»(left, ×(left, æ«(left, right))), right?
 
@Dennis It works, thanks :)
 
@HyperNeutrino No, a dyadic chain starting with three dyads is a special case.
 
Oh hm. So what does it do then?
 
@cairdcoinheringaahing Test case :)))
 
6:02 PM
CMC: given a strictly increasing non-negative integer sequence, substitute the middle parts of consecutive numbers with . E.g. 1 3 4 5 8 9 10 11 12 13 15 → 1 3…5 8…13 15`. Whitespace is fine.
 
@HyperNeutrino What you want.
 
Thanks for the upvote on my ancient, broken challenge, whoever that was :)
 
Also where can I find complete documentation of exactly how Jelly's link chaining works?
@Dennis so wait that's a working solution to the 2nd-most-recent CMC?
 
@HyperNeutrino in the Tutorial part of the docs
 
6:03 PM
@Mr.Xcoder I can't be bothered to open TIO, find Python and enter the lambda :D
 
0
A: Sandbox for Proposed Challenges

Magic Octopus UrnWho Won the Chess Game? Bear with me, this is incredibly bare-bones at the moment; I'll work on this over-time, just wanted to gauge interest on the over-all idea. Given an input list of moves l, output who won the chess game given that white always goes first, alternating moves from there. U...

 
@cairdcoinheringaahing print(0)
 
My 2 CnRs are the hottest qs!
 
hey PPCG is today's featured site xD
99% answered lol
 
@HyperNeutrino No, since your chain is a monad. The is no left and right.
 
6:05 PM
@HyperNeutrino I wonder what rounding do they use for that
 
oh
@dzaima hm good question
 
@HyperNeutrino Or maybe it works anyway. I'm tired.
 
¯\_(ツ)_/¯ I'll try it out
 
@HyperNeutrino ..making a SEDE for more percise percentage
 
@Dennis Go get some rest :)
 
6:06 PM
in Jelly, Apr 1 '16 at 18:42, by Dennis
I don't understand my language. ._.
 
@dzaima ok :P
 
Wait, wut? The cops' thread has 13 answer, the robbers' has 18 :)
And not all the answers are cracked :)
 
@Mr.Xcoder It's 14:00 and I more or less just woke up.
 
loads of ninjas
 
@Dennis Oh...
 
6:08 PM
@Adám maybe you can post that as an actual challenge
 
@programmer5000 thanks for rep cap, this is going great, I know JavaScript xD
 
@aditsu ok.
 
lol
a quarter of the answers are just javascript
 
I bet that no-one can crack this
 
@cairdcoinheringaahing Cracked
 
6:11 PM
@Mr.Xcoder post as an answer to robbers then
 
@Mr.Xcoder thats called an error
 
@Adám There's a "what is my homework assignment?" question that's very similar. It's about reading particular pages in a book.
 
@cairdcoinheringaahing Yes, it does not run forever for the empty input. So cracked
 
who said errors aren't allowed?
 
@Adám That would be a great challenge for main
 
6:12 PM
damn, i didn't read the question!
 
@HyperNeutrino 98.5834%. Really expected more (that excludes closed questions, with them - 95.739%)
 
@AdmBorkBork I think you found an exact dupe lol
 
@cairdcoinheringaahing Can you update as Cracked?
 
@dzaima ah interesting. thanks
 
6:15 PM
@Mr.Xcoder done
 
Nice. Read the q next time
 
@Mr.Xcoder welp, I'm dumb
 
@EriktheOutgolfer @AdmBorkBork @Adám it's not exact, it has things like 107-9
 
Hence why I said "very similar."
 
6:17 PM
@Mr.Xcoder I might be able to part that answer over to another one of my languages :)
 
2
Q: Reverse Array Sum

Noah CristinoYour program should take an array as input. The array: Will always be 1 dimensional Will only contain integers Can be empty The program should reverse the array, and then add up the elements to the original for example: Input: [1,2,3] [1,2,3] [3,2,1] [1+3,2+2,3+1] Output: [4,4,4] Te...

 
@Mr.Xcoder Think I've added a compatibility mode button. Does it work for you?
 
6:33 PM
lol ^^ is getting so many answers
average 1 per minute :P
 
easy questions get quick answers
 
i'm still salty that the outgolfer of my answer just replaces a listcomp with map...
>.>
 
I'm glad I managed to FGITW the easy Jelly answer :P
@totallyhuman ikr
map is only shorter when you have a named function defined already
 
mm
should remember that
 
6:35 PM
yes :P listcomps are shorter when you would need a lambda for map
 
o0 why is the 05ab1e answer getting upvotes? the pattern is always weird...
 
because it's short
 
other answers are equally short...
also isn't it law that the jelly answer gets more upvotes than any other equally short answer?
:P
 
New OEIS answer, if you guys want to FGITW it
 
can i haz link
i'm too lazy to go back
 
6:39 PM
0
A: One OEIS after another

KSmarts80. Mathics, 140 Bytes, A000013 EulerPhi[x_] := Sum[If[CoprimeQ[i,x], 1, 0], {i, 1, x}] OEIS[x_] := Sum[If[IntegerQ[x/d], (EulerPhi[2d]*2^(x/d))/(2x), 0], {d,1,x}] OEIS[#]& Try it Online! Next Sequence

 
oh nvm it's at top of hnq
 
0
Q: I have a doubt , find in code given below

Prajwal Dubey------------------Solve this code--------------- #include<studio.h> #include<conio.h> int main() { int i=1; clrscr(); for(i=0;i<=30;i=i++) { printf("%d",i); } getch (); return 0; } Why result gonna repetitive one ?

 
next answer will be the 100th answer ^^
 
@totallyhuman yeah including deleted answer
20 more till 100
 
A sequence I invented for a PPCG challenge just got published on the OEIS! OEIS A290151
18
 
6:41 PM
nice
 
@WheatWizard noice
Next answer for the OEIS must link to that :D
 
290151 bytes?
 
@totallyhuman Java?
 
¯\_(ツ)_/¯
 
unary?
 
6:42 PM
@dzaima yeah thats more like it
 
@WheatWizard that's neat
well job
 
We haven't had brainfuck, Lenguage or Unary
 
Thats too short for lenguage
 
@WheatWizard the sad thing is, if we have lenguage or Unary next, the sequence after will be A14 :)
 
0
Q: Should we rename to 'Programming Competitions and Code Golf'?

tuskiomiIt seems like we don't see many puzzles on this site, and the attempts at puzzles are generally ill-taken. How would the name 'Programming Competitions and Code Golf' fit the community vs 'Programming Puzzles and Code Golf'?

 
oh man
that's gonna get closed as a dupe
 
@tuskiomi before the challenge was deleted, I was going to add that the tag wiki for programming-puzzles describes something very different from that challenge anyway, so it would probably be off topic regardless.
I agree it was clearly a deliberate riddle rather than programming help though
I don't like the answer being downvoted and deleted while there was still disagreement over whether the challenge was on topic. That doesn't seem like a valid reason for deletion.
 
I also disagree with the deletion of the question, so quickly at least.
 
i disagree that there was disagreement
 
6:53 PM
@Adám CJam, very long :( q~P]{IP)={T):T;}{T{T({'…}&P}&0:T;I}?I:P;}fI;]S*
 
I think it was clearly well intended, not a lazy request for help, and it would have been nice to have had time to link to Puzzling where it would have been on topic
 
Though it is obviously off-topic.
 
it's fairly obvious
that it does not belong
 
It seems like a Stack Overflow question
 
SO is for help, not for riddles
 
6:53 PM
I don't know what's with "Solve this code", but it's obviously a help question asking why i=i++ doesn't work
@trichoplax I disagree that it's a riddle.
 
well it does say "solve this code"
 
I could say "solve this code" and then type a bunch of gibberish; that doesn't make it any more on-topic.
 
@HyperNeutrino that's basically the OEIS question at the moment
 
Unfortunately the English isn't exactly pristine so it's hard to identify OP's intentions.
 
no but i think that hints to the fact that it's a puzzle
 
6:55 PM
If so, it was too easy. :P
 
It's a concealed error that would make a good riddle for someone new to programming and/or the language
 
True.
 
actually i have yet to solve the puzzle so i'll go ahead and do that lol
 
But "I have a doubt" in the title makes it seem like OP doesn't get why it's not working.
also there's another reason it wouldn't work
 
:38984055 ``
 
6:56 PM
20
Q: When is a giraffe not a giraffe?

Jeppe Stig NielsenI hope this kind of "riddle" is ontopic in Programming Puzzles & Code Golf. Give an example of a situation where the C# method below returns false: public class Giraffe : Animal { public bool Test() { return this is Giraffe; } } Rules: The code lines above must not be changed in any...

 
studio.h isn't a thing ಠ_ಠ
 
Why is that any different?
 
I can't say for certain what the intention was, I just would have liked to have been able to say "if you intended this as a riddle, you can post it on puzzling instead", which would have been possible had it been closed but not immediately deleted
 
I feel the two are practicallu the same thing
 
@HyperNeutrino i've definitely typed that by accident before, haha
 
6:57 PM
oh post increment
lol
 
definitely one of the most common beginner mistakes
 
CMC: Given a list of integers, compute the deltas (differences between the elements)
 
Not quite. The first is "here's some code; figure out how to make it behave a certain way". The newer one, in my opinion, is more like "I have some code and it's supposed to do something but it does something else; why?"
@Mr.Xcoder Jelly: I
 
@Mr.Xcoder Jelly, 1 byte: I
 
6:58 PM
[1,2,3,4,5,4,3,6,2] -> [1, 1, 1, 1, -1, -1, 3, -4]
 
@Mr.Xcoder SOGL: -
 
@HyperNeutrino Yes, only the first one matches the current tag wiki for
 
Gaia:
 
I'm just gonna leave the ninja untouched
 
Pyth, 2 bytes: .+
 
6:58 PM
Ohm, 1 byte: δ
 
So many one-byters lol
 
@HyperNeutrino I think that difference you are drawing is rather arbitrary, why should one by on topic and the other off?
 
@totallyhuman are you learning Ohm?
 
Why is Pyth longer :(
 
@totallyhuman +1 for it actually being a delta
 
6:59 PM
@cairdcoinheringaahing You got ninja'd
 
@Mr.Xcoder Because ASCII only
 
@cairdcoinheringaahing it's one of those languages where you just ctrl+f the commands page
@BusinessCat exactly
 
@totallyhuman its also Jelly but easier
 
ohm has some good character choices
 

« first day (2368 days earlier)      last day (2474 days later) »