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

Comments on Guess the language! (Cops' Thread)

Parent

Guess the language! (Cops' Thread)

+5
−0

ROBBERS' THREAD

A famous cops-and-robbers challenge whose source shall remain unnamed is brought to Codidact.

You are a cop. You should write a program in a "famous" (has an English Wikipedia/Esolangs/Rosetta Code page) language that prints Cops and Robbers. That's all it does - prints exactly this stream of bytes, with optional trailing output if your language absolutely has to make it.

Don't assume REPLs, existing boilerplate or nonstandard flags. If your code has bytes outside printable ASCII range, it should have a hexdump available.

Do not, and I repeat, do not edit the source of your program after posting. You might want to make your program polyglot-free.

Your goal is to be the writer of the shortest program whose language still hasn't been determined after 2 weeks or 14 days. If your program isn't cracked by then, you may choose to reveal the language yourself.

Good luck, all!

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?

1 comment thread

Robbers' Challenge? (3 comments)
Post
+2
−0

Rockstar, cracked by Hakerh400, 126 bytes

I never thought of languages that would ignore everything except the strings - I should have stated that the solution should be irreducible. Hakerh400 gets the win here but Razetime got the correct answer after the fact.

Let the cops be "Cops"
The conjunction is " and "
The robbers are "Robbers"
Say the cops with the conjunction with the robbers

(This would also work for a lot less bytes ...

Say "Cops and Robbers"

... but it would be a polyglot with Perl)

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

1 comment thread

Cracked (6 comments)
Cracked
Hakerh400‭ wrote over 3 years ago
Shaggy‭ wrote over 3 years ago

Not my intended solution(s), Hakerh400‭; I hadn't thought of languages that behave like that - should've stuck with my original version instead of opting for the shorter one or, at least, stated that the solution should be irreducible. Have the "W" nonetheless, but I won't reveal the intended solution just yet in case someone wants to try for it.

Razetime‭ wrote over 3 years ago

the actual language is Rockstar

Shaggy‭ wrote over 3 years ago

Correct, Razetime‭; do you want to post that to the robbers' challenge?

Razetime‭ wrote over 3 years ago

Haker's crack is still correct, so no

Shaggy‭ wrote over 3 years ago

I would credit you both, of course.