Harry and Statues
CodeChefOpen on judge ↗
Harry has been given work to decorate Howard hall for upcoming Triwizard tournament. Howard hall has $N$ statues. He plans to use magic wire to decorate the statues such that all the statues are enclosed inside the magic wire. Since he needs to do it as fast as possible, so he should use minimum amount of magic wire to decorate the statues. Given coordinates (x,y) of statues, help him to id
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