Mining Gold Field
CodeChefOpen on judge ↗
IIIT administration is always very hungry for money and they've now decided to mine their playground to look for hidden gold. Of course, they are very lazy and have handed it over to you as a part of Social Community service. You have $2$ types of mining bombs (in unlimited quantity) and you have to mine a row of size $1 * N$ (you can say $N$ cells), drawn on the ground (of course, other areas ar
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