← All problemsSign in

Bot of Rancho

Rancho is designing a surveillance bot which has the capability to remember the coordinates of the given points and reply for the queries when asked. The bot is placed at (0,0) with x axis towards right and y axis towards up. It has the capability to add, erase and get a point in the system : add a b : Bot places a marker at the point (a,b). If the point is previously marked then ignores it. e

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