Coded Alphabet
CodeChefOpen on judge ↗
A friend of Arun has challenged him to crack the code of an encrypted alphabet. The friend has sent him a big file with more than 2000 words in encrypted form and has asked him to decode the file into the original words. Friend has also sent the following snippet of the function he used to encrypt the file. char N A 0 B 1 C 3 D 6 E 10 F 15 G 21 H 28 I 36 J 45 K 55 . . . Y 300 Z
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start