Gaitonde on Civil Lawn
CodeChefOpen on judge ↗
Gaitonde once visited AKGEC, since Gaitonde believes in concept of "Aham brahmasmi", he decided to walk. Gaitonde heard of Sacred Codes Divsion 2 being organised at CS/IT Labs, so he wanted to participate, since he is a beginner in programming. Lets say Gaitonde started walking at point **(0, 0)** on coordiate plane. Initially he walks east 1 unit until he reaches point (1, 0), Then he'll walk 2
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