| Problem | photofinish |
|---|---|
| User | haroldpyh |
| Submission Time | 2025-12-01 18:03:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
photofinish.cpp: In function ‘int main()’:
photofinish.cpp:69:25: error: cannot convert ‘cell (*)[w]’ to ‘cell**’
69 | moveRobot(robotPos, grid, r, h, w);
| ^~~~
| |
| cell (*)[w]
photofinish.cpp:15:39: note: initializing argument 2 of ‘void moveRobot(cell&, cell**, int&, int, int)’
15 | void moveRobot(cell& robotPos, cell **grid, int& currNetReward, int h, int w) {
| ~~~~~~~^~~~