Matrix Game
CodeChefOpen on judge ↗
Faizal Khan and Ramadheer Singh are rivals.There is a war between them for occupying major areas of Bihar and Jharkhand,due to which many of their men are killed on the battlefield.There lives a wise person named Godbole who is software Engineer on the border of Jharkhand & Bihar.So in order to stop the war he suggested a game.The game is as follows- A structure is given of the battlefield in the
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