← All problemsSign in

A New Scheme

Ishant goes to Houston to spend his vacations. The city of Houston has a rather strange transportation system for the public. They have devised a system of points based on which they decide how much fare a person has to pay to use the transportation. When a person starts he has 0 points. There are various stops along any path and it is mandatory to stop at those stops. When he is travelling betwe

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