Priyam, his phone and Utsav
CodeChefOpen on judge ↗
Priyam is known for his extreme privacy when it comes to his phone. He lets no one touch it and has a very complicated pattern lock. Only God and Priyam knows what secrets are hidden within his phone. Utsav is very curious to find out and decides to challenge him that he will be able to guess the lock pattern and if he does, he gets to view whatever is there in the phone. Priyam accepts the challe
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