Problem waterbottles
User haydendoo
Submission Time 2023-05-27 14:41:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles.cpp: In function ‘void solve()’:
waterbottles.cpp:236:4: error: ‘curr’ was not declared in this scope
236 | curr+=readint();
| ^~~~
waterbottles.cpp:239:8: error: ‘curr’ was not declared in this scope
239 | print(curr-k*(2*(n-1)*(m-1) + n-1+m-1));
| ^~~~