Skip to main content
5 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

ATOI string to integer, 130 Bytes, Python 3 (IDLE), probably \$O(n)\$ or worse, 9:10 am UTC (it's DST in uk), Cracked in 18 min, so 0 points :( 4 points under new system :) ...
The Empty String Photographer's user avatar
5 votes

Magic OEIS formulae (Cops' thread)

A002193, 82 bytes Cracked by @loopy walt. The brownie points are still open. Offset: 1 (that is, \$f(1) = 1, f(2) = 4, f(3)=1, ...\$) The decimal expansion of \$\sqrt 2\$. Six brownie points if your ...
Command Master's user avatar
5 votes

Hashers and Crashers (Robbers)

Cracks Sisyphus's, 1 byte b'' and b'\x00' Try it online! I'm not sure if this is the intended solution but it's definitely the ...
CursorCoercer's user avatar
4 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

Concatenated Words, Python, 177 bytes, \$O(n)\$ time assuming input is a set where \$n\$ is the number of words, Cracked by Cursor Coercer, 7 points This is \$O(2^L)\$ where \$L\$ is the length of ...
mousetail's user avatar
  • 12.7k
4 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

Removing Stars From a String, C (GCC), 47 bytes, \$O(n)\$ complexity, Cracked by jimmy23013, 25 points f(char*s){for(char*p=s;*s-42?*p++=*s:p--;s++);} Attempt This ...
c--'s user avatar
  • 2,483
4 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

Generate Parenthesis, ><> (Fish), 178 bytes, \$O(n!)\$, Cracked by C-- Time: 2023-07-21 12:35:24Z Hover over any symbol to see what it does. If this appears glitched unformulated version ...
mousetail's user avatar
  • 12.7k
4 votes

Magic OEIS formulae (Robbers' thread)

A000120, 86 bytes, cracks @xnor's answer 4**n**2*2**n/(2*4**n-1)*(4**n**2*2**n/(2*4**n-1)&4**n**2/(4**n-1)*n)>>2*n*n-n-1&2**n-1 Try it online! I was ...
Command Master's user avatar
4 votes

Magic OEIS formulae (Robbers' thread)

Python 2, 161 bytes ...
l4m2's user avatar
  • 24.5k
4 votes

Magic OEIS formulae (Robbers' thread)

Python 2, 29 bytes 4**(n*-~n)%(16**n+~4**n)%4**n Try it online! Cracks Command Master's Fibonacci numbers A00045 with / banned....
xnor's user avatar
  • 145k
4 votes

Argument of a complex number (Cops)

Uiua 0.10.0, 14 bytes, cracked ↥⍥⌵)∠.⊃±×(0∩¬÷ Does not round the answer at all beyond what Uiua does natively. Edit: my solution as a bit different from the ...
Tbw's user avatar
  • 2,083
4 votes

Argument of a complex number (Cops)

JavaScript (Node.js), 51 bytes, Cracked ""%%%%%%%%%%()+0134445566677788[]``aaaacdeeeelnpsuv Try it online!
l4m2's user avatar
  • 24.5k
4 votes

Argument of a complex number (Cops)

Wolfram Language (Mathematica), 13 bytes, cracked by @totallyhuman *crane*@RANT@ Displays the result to 6 significant figures, hence at least 5 decimal places.
Greg Martin's user avatar
  • 15.8k
4 votes

Argument of a complex number (Cops)

Wolfram Language (Mathematica), 53 bytes, cracked by @att B{[[@#&#&#&#=!=/+<+/1122900,eternal,emote,ego]]}.IIII Hint/teaser: the 31-byte subset <...
Greg Martin's user avatar
  • 15.8k
4 votes

Argument of a complex number (Cops)

JavaScript (Node.js), 55 bytes, safe The output is not explicitly rounded. (())*++++++,,,,-/6=====BBBBBBBMMM[[[]]]aeffhhhhhrrrrrtu Hint 1 Hint 2 Solution Try ...
Arnauld's user avatar
  • 193k
4 votes

Argument of a complex number (Robbers)

JavaScript (Node.js), 51 bytes, cracks @l4m2 eval(unescape`%4d%61%74%68["a%74a%6e"+7%5%5%8%30]`) Try it online!
Neil's user avatar
  • 172k
4 votes

Argument of a complex number (Robbers)

Wolfram Language (Mathematica), 13 bytes, cracks Greg Martin Re@*N@*ArcTan Try it online! Prints more than six significant figures on TIO, possibly because of the <...
totallyhuman's user avatar
  • 17.2k
4 votes

Argument of a complex number (Robbers)

Wolfram Language (Mathematica), 48 bytes, cracks att N[ToPolarCoordinates[List[##,##]][[Abs[2]2]]]& Try it online! All credit goes to Greg Martin for actually ...
vindobona's user avatar
  • 141
3 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

Python 3, 144 bytes, Longest Substring Without Repeating Characters, O(N), Time: 2023-07-20 17:17:27Z. 83 min = 17 points Cracked by CursorCoercer (125 bytes) ...
Ethan C's user avatar
  • 171
3 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

Simplify Path, 119 Bytes, Python 3, \$O(n)\$, 16:20 UTC (cracked by Value Ink, 20 points) ...
Shiran Yuan's user avatar
3 votes

(Cops) Fast and Golfiest Season 1: The Lord of the Strings

Edit Distance, Python 3.8 (pre-release), 124 bytes, \$O(mn)\$ complexity, cracked by SuperStormer (I won't bother trying to score since I had to edit my answer and the scoring system was flawed) <...
CursorCoercer's user avatar
3 votes

The Programming Language Quiz, Mark II - Cops

Literate Vyxal 3, 42 bytes, safe n = 100 for index in range(n) print index Try it Online! Output as newline-separated decimal integers. Vyxal 3 has a literate ...
emanresu A's user avatar
  • 38.8k
3 votes

Output two numbers (Robbers' thread)

pxeger's zsh, 13 bytes tr<=z3 -c 0 1 Try it online! Cracks https://codegolf.stackexchange.com/a/242150/3852
lynn's user avatar
  • 68.8k
3 votes

Overlapping Polyglots

Rust, BrainSpace, ??? ...
Unrelated String's user avatar
3 votes

(Robbers) Fast and Golfiest Season 1: The Lord of the Strings

Python, 84 bytes (35.4% reduction), cracks ATOI string to integer lambda s:min(max(L:=-2**31,int([*re.findall("^ *([+-]?\d+)",s),0][0])),~L) import re ...
The Thonnu's user avatar
  • 18.1k
3 votes

(Robbers) Fast and Golfiest Season 1: The Lord of the Strings

C (GCC), 44 bytes (6.4% reduction), cracks Removing Stars From a String i;f(char*s){for(i=0;s[i-=*s++-42?0:2]=*s;);} Attempt This Online! -2 bytes thanks to c-- (...
jimmy23013's user avatar
3 votes

Magic OEIS formulae (Cops' thread)

A000796, 105 bytes Offset: 1 (that is, \$f(1) = 3, f(2) = 1, ...\$) The digits of \$\pi\$, in base 10. Your formula must be provably correct, and can't relay on any unproven assumptions/conjectures. ...
Command Master's user avatar
3 votes

Magic OEIS formulae (Robbers' thread)

Python 2, 25 bytes (1<<2*n*n-2)%((4<<2*n)-3) Attempt This Online! cracks @xnor's powers of 3.
loopy walt's user avatar
  • 16.7k
3 votes

Argument of a complex number (Cops)

Wolfram Language (Mathematica), 46 bytes, cracked by vindobona ####&,22ACLNPT[[[[[[]]]]]]aabdeiilnoooorrssstt Sorry I don't have words like Greg Martin did. ...
att's user avatar
  • 20.7k
3 votes

Argument of a complex number (Cops)

Wolfram Language (Mathematica), 46 bytes, safe @@####^^&&--+{[[(())]]}.,,//122255AIISbmmmmmsu As with my other submissions, this is an unnamed function of ...
Greg Martin's user avatar
  • 15.8k
3 votes

Argument of a complex number (Cops)

Wolfram Language (Mathematica), 50 bytes, safe ##&(())**+,,.////0012@@DHIMN[[[[[]]]]]^^adeinrsttu Expects [x,y]. Hint: ...
att's user avatar
  • 20.7k

Only top scored, non community-wiki answers of a minimum length are eligible