Black Star
CodeChefOpen on judge ↗
Jillu is recruited as Commander of Outer Space Forces. He is very expert in dealing with weapons and Asteroids. Jillu has special weapons called $Black Star$ which create a black hole at any location and destroy asteroids inside it. A group of asteroids of the Milky-way galaxy is the new target for testing out this weapon. These asteroids are considered to be points. Everyone wants to use this we
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