The Railgun
CodeChefOpen on judge ↗
Indian Army is fighting against terrorist in Kashmir. Terrorists have created an unpenetrable wall that cannot be destroyed easily. For this, the Indian R&D have researched a new destructive weapon called The Railgun, powerful enough to penetrate through any wall. The Railgun parts are delivered to troops in the warzone area. Due to heavy fire by terrorists, the troops have landed in different loc
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