The question is not clear. What is the Robot’s power? Till when he has to collect the points.
ROBOT Collects point
Hey @lazy_girl
It just means you can select any 5*5 subgrid in the grid and set all -1 to 0 in that grid. You can do this only once. After you’ve done this, find the max sum you can obtain.
Eg - let’s say the height is 10, width is 5 ( fixed ). So you can set -1 to 0 in rows 1-5 (inclusive) or 2-6 or 3-7 and so on and then find the max sum you can obtain this way.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.