Land Mines of Byteland
CodeChefOpen on judge ↗
Little Joe is stuck in a rectangular field containing some land mines. The field is a grid of squares. Some squares are free while some contains a wall. The squares having an exit are marked with X. Some of the squares contain a land mine or a switch. A switch is used to defuse the land mine. There are four different types of switches and mines: red, green, yellow and blue. Each switch can only de
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