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

Compile Error

waterbottles.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
waterbottles.cpp:6:1: note: in expansion of macro ‘int’
6 | int main() {
| ^~~
waterbottles.cpp: In function ‘int main()’:
waterbottles.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #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;
| ^
water