DECODE IT
CodeChefOpen on judge ↗
$Ajju$ $bhai$ is tired of coding. One day he decides to go on a treasure hunt. He founds the treasure but it is locked with a $N$ sided $polygon$ shaped lock. To open the lock one needs to generate the $passcode$. The procedure to generate the $passcode$ is as follows : There are $N$ alphabets (not necessarily distinct) with a particular numerical value assigned to it in random order on each
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