57
votes
56
votes
The Programming Language Quiz, Mark II - Cops
Beatnik, 114 bytes, cracked by Johannes Griebler
Mit' tää kauniina kelaa?
Mil tää öisin pelaa?
Sun suu kauniina sanoo:
Kroohhpyyh-ZZZ-ZZZZ Z
Nukuttaapi kovin!
It'...
52
votes
Will it halt? (Robbers)
Malbolge, Doorknob
Try it online (Thanks Dennis!)
Input for Windows: F_⌠1234567890
Input on Linux based system using ISO-8559-1: ...
49
votes
37
votes
Accepted
Can you outgolf me? (Cops section)
Seed, 5861 bytes, score = 5012 / 5861 = 0.85
The sequence is primes (A000040) with offset 1. a(1) = 2, a(2) = 3, a(3) = 5 etc.
...
35
votes
Print X without X (cop's thread)
Python 3, Score: 81, Cracked
X = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'*,./:;<=>?@[]^_`{|}~
Not terribly interesting since it ...
29
votes
27
votes
Output two numbers (Cops' thread)
Zsh, 1 byte, score 124, provably uncrackable
Programs output via exit code.
/
Outputs 126 ("permission denied"). Attempt This Online!
[
Outputs 2 ("invalid argument"). Attempt This ...
26
votes
The Programming Language Quiz, Mark II - Cops
8086 DOS COM, 58 bytes, cracked by tsh
huCX5DBP^h~0_GG1<h32X542P[18F18h42X%AAP[h!.X%OOS`M a@<euws
I/O format: raw characters
Explanation
The basic ...
26
votes
The Programming Language Quiz, Mark II - Cops
Hexagony, 62 bytes, cracked by totallyhuman
i=100 while(i>0){p(100-i+"d")!}i=%<>--1;if(_@==0){_@=-100}end;
Prints decimals separated by a single ...
24
votes
Will it halt? (Cops)
JavaScript (ES6), 17 bytes, Cracked
x=>{for(;x==x;);}
On TIO, since I dunno how to do Node.js readline on TIO, just stick the input in the function call. This ...
24
votes
What's the Missing Code? (Robbers)
Python 3, cracks Sisyphus' answer
print(dⅳmod(99,15))
Try it online!
Inserts dⅳmod where the ...
22
votes
Make your language *mostly* unusable (Robber's thread)
C (GCC/Linux) by Sisyphus
This snippet closes the provided function and starts a new one (classic code injection), which itself redefines close so that instead of ...
21
votes
Hidden Inversions (Robbers' Thread)
Python 3, 46 bytes, Lynn
lambda x0223334566789:(x0223334566789*89)//178
21
votes
Make your language *mostly* unusable! (Cops' thread)
Haskell, cracked by Christian Sievers
import Prelude(getLine,print)
a=a
Full program, reading two integers (including negative ones) from stdin and writing to ...
21
votes
Make your language *mostly* unusable (Robber's thread)
Python, Wheat Wizard's solution here
...
21
votes
The Programming Language Quiz, Mark II - Robbers
Game save of the Powder Toy, posted by moonheart08
xxd dump:
...
21
votes
Cops: The Hidden OEIS Substring
MATL, sequence A005206. Cracked by SamYonnou
voOdoO
Try it online!
The hidden string has 8 bytes.
20
votes
20
votes
Accepted
The Programming Language Quiz, Mark II - Cops
Sesos, 6 bytes, safe
}%*xg2
Output is in decimal.
Try it online!
Sesos can be written in either binary or assembly format. The assembly file that generated the ...
20
votes
Guess my password (robbers' thread)
Sisyphus, PHP
Password:
A string golf with 1,000,000 leading whitespaces and 1,000,000 trailing whitespaces
Output: golf
Reason: ...
19
votes
18
votes
Significant Whitespace: Cops
Haskell, 100 bytes, cracked by nimi
main=interact$iddoidlinesidwordsdoidoidoid=doiddoid<-dooiidoid<-dooiddoiddodoid
This is a full program and a dadaistic ...
18
votes
Cops - square times square root
Python 3, 44 bytes (cracked)
'**:(((paraboloid / rabid,mad,immoral))):**'
No rounding. Floating point accuracy.
18
votes
Make your language *mostly* unusable! (Cops' thread)
Python 2, Cracked
Implements addition as a named function
...
18
votes
The Programming Language Quiz, Mark II - Cops
ETA, 83 bytes, safe
n = "e";
is n equh one hundre-
SNACK?! 0v0
_ M-<
/ \_/
HA|E SNAKE!!! >:(
T
Another one that's more ASCII art than code (though ...
18
votes
The Programming Language Quiz, Mark II - Cops
MATL, 46 bytes, cracked by totallyhuman
Flatten[{1,100}] (* From x: 1 To 100: huhu% *)
I had fun trying to make this look somewhat like Mathematica, and trying ...
18
votes
Abstract Rewriting Challenge (Robbers)
jimmy23013
Let's work backwards for this one. We first turn the digits into their binary representations. We go from ...
18
votes
17
votes
The Programming Language Quiz, Mark II - Cops
Curry PAKCS, 57 bytes, cracked by Potato44
f[]=""
f([x]++s)=show x++" "++f s
main=putStr(f[1..100])
Looks like Haskell but it doesn't run in Haskell.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cops-and-robbers × 159code-golf × 52
sequence × 30
code-challenge × 24
string × 15
obfuscation × 15
source-layout × 13
number × 12
polyglot × 12
restricted-source × 11
permutations × 10
kolmogorov-complexity × 9
popularity-contest × 6
primes × 6
regular-expression × 5
hello-world × 5
language-design × 5
arithmetic × 4
quine × 4
code-generation × 4
code-bowling × 4
hashing × 4
edit-distance × 4
math × 3
decision-problem × 3