KNOWHERE IN NIDAVELLIR
CodeChefOpen on judge ↗
The *Guardians* have accidentally opened a portal to an asteroid field instead of *Nidavellir*. In the field,there are several asteroids but the Guardians are low on ammo required to clear the field. Hence, they have to find a method to use their ammo carefully. Each asteroid is moving in either one direction or the direction opposite to it and. Star-lord has suggested that while the asteroid
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