← All problemsSign in

Lets get vaccinated

Ram turned 18 last week and now he is eligible to get vaccinated. He lives in a village located in northern India. He wants to get vaccinated but he doesn't want to stand in a long queue. There are 3 vaccination centres at which Ram can go. Let us call them A, B and C. Distance of vaccination centre A from Ram's House : 3km Distance of Vaccination centre B from Ram's House: 5km Distance of

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