Pragyans Terrible Scroll Dilemma
CodeChefOpen on judge ↗
Pragyan and his girlfriend wanted to visit the ancient continent of Tamriel during their summer vacation. While they are going around the province of Skyrim, they get trapped by the evil wizard Kairav! Kairav decides to give them a task in order to allow them escape without injury. Kairav has the portal to $N$ different worlds, each of them as flat as our world, and infinite in any direction. The
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