Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Guess the language! (Robbers' Thread)

+3
−0

COPS 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!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

12 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+2
−0

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

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+5
−0

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‭).

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

Cracks Mark Girrafe's answer: Rust

fn main(){print!("Cops and Robbers")}

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

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)%>

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

A-ha! I knew it was one of the Cs but it was too fiddly to test them all on my phone when I saw that ... (1 comment)
+2
−0

Cracks Shaggy's answer, brainfuck, 245 bytes

void main(x,y)->{
printf=io.write(z=x-y);
printf("+++++[++++>---<]>.+[--->+<]>+++.+.+++.+[---->+<]>+++.[->+++<]>+.+++++++++++++.----------.-[--->+<]>-.>-[--->+<]>---.--[--->+<]>-.-------------..+++.+++++++++++++.+.");
print "Cops and Robbers";
}

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

Cracks Mark Girrafe's answer: F#

printfn"Cops and Robbers"

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

Cracks Mark Giraffe's answer: Forth (gforth)

.( Cops and Robbers)

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General (4 comments)
+2
−0

Cracks Shaggy's answer: Japt

((Cops)&(Robbers))`¬ps „d žbÞ`¸ËhDÎmEgviuø

Test it

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

Cracks Mark Girrafe's answer: Japt

No way I wasn't getting this one! Even if the intended solution was Pyth.

"Cops and Robbers

Test it

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

I suspect this works in most golfing languages because so many have implicit input and automatically ... (1 comment)
+1
−0

Cracks Mark Girrafe's answer: PicoLisp

A sneaky search of TIO's GitHub org revealed this one ;)

(prinl "Cops and Robbers")(bye)

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+1
−0

Cracks Shaggy's answer: Jelly

“¿×⁶ṆḶN{N=ȷṾ»

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+1
−0

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").

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »