Guess the language! (Robbers' Thread)
A famous cops-and-robbers challenge whose source shall remain unnamed is brought to Codidact.
You are a robber. Your goal is to find answers on this link which haven't been cracked and to crack them, aka reveal a language in which they work. If you have found such a language, reply to the cracked answer with it and (if possible) give an interpreter online to prove it works.
The robber who has cracked the most answers (tiebreak: most total bytes cracked) is the winning robber for the challenge.
Good luck, robbers!
Cracks Shaggy's answer …
3y ago
Cracks Shaggy's answer, [brain …
3y ago
Cracks Lundin's answer: [C++ ( …
3y ago
Cracks Shaggy's answer: Japt …
3y ago
Cracks Mark Girrafe's answer: …
3y ago
Cracks Mark Girrafe's answer: …
3y ago
Cracks Quintec's answer: Canv …
3y ago
Cracks Mark Girrafe's answer: …
3y ago
Cracks Mark Giraffe's answer: …
3y ago
Cracks Shaggy's answer: Jelly …
3y ago
Cracks Mark Girrafe's answer: …
3y ago
Cracks Kevin M. Mansour's ans …
3y ago
12 answers
Cracks Quintec's answer: Canvas
My first clue was the echp
; if the language used echo
then why wouldn't it error on that? The second clue was that the last line contained the exact output we needed so I suspect that we're looking for a golfing language that ignores all but the last line of a programme and doesn't require strings to be quoted. Tried a few that I thought might have those capabilities and ended up with Canvas.
/bin/bash
> echo "Cops and Robbers"; #Testing, testing 1 2 3
Segmentation Fault
> echp "Cops and Robbers"; #Huh?
Cops and Robbers
0 comment threads
Cracks Shaggy's answer
Let the cops be "Cops"
The conjunction is " and "
The robbers are "Robbers"
Say the cops with the conjunction with the robbers
It can be one of:
The Shaggy's intended solution turns out to be Rockstar (found by @Razetime).
0 comment threads
Cracks Lundin's answer: C++ (gcc)
%:
%: define cops(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) if(not false and k%:%:f%:%:d%:%:l(& (not true) <:%:i%:j%:k%:l" "%:m" "%:n%:o%:p%:q%:r%:s%:t:> ))<%%>
%:
main()<%cops(w,h,a,t,s,u,p,?,C,o,p,s,and,R,o,b,b,e,r,s)%>
1 comment thread
Cracks Mark Girrafe's answer: Japt
No way I wasn't getting this one! Even if the intended solution was Pyth.
"Cops and Robbers
1 comment thread
Cracks Shaggy's answer, brainfuck, 245 bytes
void main(x,y)->{
printf=io.write(z=x-y);
printf("+++++[++++>---<]>.+[--->+<]>+++.+.+++.+[---->+<]>+++.[->+++<]>+.+++++++++++++.----------.-[--->+<]>-.>-[--->+<]>---.--[--->+<]>-.-------------..+++.+++++++++++++.+.");
print "Cops and Robbers";
}
0 comment threads
Cracks Kevin M. Mansour's answer: Erlang
Searched for languages that use fwrite
, no joy. Searched for io:fwrite
, got it instantly
main([])->
io:fwrite("Cops and Robbers").
0 comment threads
Cracks Mark Girrafe's answer: PicoLisp
A sneaky search of TIO's GitHub org revealed this one ;)
(prinl "Cops and Robbers")(bye)
0 comment threads