Skip to main content

New answers tagged

5 votes

Decode a Caesar ciphertext with high probability

Jelly, 19 bytes, \$94.65\%\$; score \$=\frac{10000\times 19}{9415}\approx 20.18\$ ØaṙJ,€¤y€ċⱮ“Ẉ²»S$ÞṪ A monadic Link that accepts the encrypted text and yields its ...
Jonathan Allan's user avatar
6 votes

Decode a Caesar ciphertext with high probability

Vyxal, 10 bytes, 99.9%, score 10.01 ‡ka*݇øDL∵ Try it Online! Based on Jonathan Allan's idea of compressing the strings, this takes the rotation that's compressed ...
emanresu A's user avatar
  • 38.8k
2 votes

Decode a Caesar ciphertext with high probability

Python 3, 131 bytes / 0.9464 = 138.41927303465764 -34 bytes thanks to Nicola Sap -2 bytes thanks to ShadowRanger ...
None1's user avatar
  • 1,065
9 votes

Decode a Caesar ciphertext with high probability

Charcoal, 31 bytes, 93.66%, score 33.1 ≔EβΣEθ∧№βλ№etaonis§β⁻⌕βλκηI⌕η⌈η Attempt This Online! Link is to verbose version of code. Outputs the shift ...
Neil's user avatar
  • 172k
3 votes

Decode a Caesar ciphertext with high probability

JavaScript (ES6), 80 bytes / 0.9468 ≈ 84.50 Improved (*) by taking inspiration from Neil's approach. Expects an array of ASCII codes. ...
Arnauld's user avatar
  • 193k

Top 50 recent answers are included