Problem waterbottles
User braven
Submission Time 2025-01-05 20:00:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles.cpp: In function ‘int main()’:
waterbottles.cpp:7:19: error: declaration does not declare anything [-fpermissive]
7 | #define int long long;
| ^~~~
waterbottles.cpp:9:2: note: in expansion of macro ‘int’
9 | int w, h, k, n, running = 0, c, tired;
| ^~~
waterbottles.cpp:9:6: error: ‘w’ was not declared in this scope
9 | int w, h, k, n, running = 0, c, tired;
| ^
waterbottles.cpp:9:9: error: ‘h’ was not declared in this scope
9 | int w, h, k, n, running = 0, c, tired;
| ^
waterbottles.cpp:9:12: error: ‘k’ was not declared in this scope
9 | int w, h, k, n, running = 0, c, tired;
| ^
waterbottles.cpp:9:15: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | int w, h, k, n, running = 0, c, tired;
| ^
| yn
waterbottles.cpp:9:18: error: ‘running’ was not declared in