Problem waterbottles
User godex
Submission Time 2025-03-03 17:51:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles.cpp: In function ‘int32_t main()’:
waterbottles.cpp:19:30: error: ‘di’ was not declared in this scope; did you mean ‘i’?
19 | int new_i = i + di[l];
| ^~
| i
waterbottles.cpp:20:30: error: ‘dj’ was not declared in this scope; did you mean ‘j’?
20 | int new_j = j + dj[l];
| ^~
| j