Mines on the Field
CodeChefOpen on judge ↗
There is square minefield with length M(matrix of MxM). There are some hidden explosives under the land. Power of explosives is given in terms of radius from the centre. You have a endurance level of K, if the explosive power in a tile exceeds K then you die. You have randomly landed on a particular tile in the field, you need to find the probability of you being alive. Explosive Damage is the num
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