← All problemsSign in

Robot Game

Robot Game There is a maze of size N*M, consisting of unit blocks. At the start Robot has RC percentage of battery charged. Now Robot start from 1 st row and move towards N th row. From the present block robot can move to a block in the next row, which is either on right or on left side of the present block. On moving to a block in i th row j th column, Robots battery charge will reduce by C(i,j

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start