Game Of Prison
CodeChefOpen on judge ↗
To get out of the jail of Westeros, Ned Stark must first open the locks on the walls of the jail. As he comes up to the walls, he notices that there are thousands of locks on them. Each lock consists of a pair of concentric rotating discs, each disc marked on its circumference with a string of characters from 'a'-'z'. Ned Stark makes the following observations regarding each lock: 1. The strings o
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