Coal mines of Kharagpur
CodeChefOpen on judge ↗
Coal Mafias in Kharagpur are notorious for being one of the biggest perpetrators of crimes against officials protecting the mines. There are **n** mines in the area, numbered from **1** to **n**. Government wants to protect the mines by deploying some guards. As you know, governments usually don't have enough resources to assign a single guard for each mine. Instead, they know that some of the min
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