← All problemsSign in

Intersections

Problem text... In order to make a few dollars, you have decided to volunteer for an experiment. You are given LOTS of pizza and then you are asked to find you way across the city on a scooter powered only by pizza. Ofcourse, the city has lots of intersections, and these intersections are very controlled. Some intersections are forbidden for you to enter; some only let you move north/south as you

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