← All problemsSign in

Solve the Puzzle

After crossing the maze, Eon has finally reached Codezilla's castle. But entering the castle is not going to be so easy. In his early days, Codezilla used to be an ace competitive programmer. He knew such a day would come when someone like Eon will rise against him. So instead of a password, Codezilla has set a programming problem to enter the castle. The puzzle is as follows: You are given three

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start