Problem | waterbottles3 |
---|---|
User | brat |
Submission Time | 2025-09-25 21:24:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
waterbottles3.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
waterbottles3.cpp:5:1: note: in expansion of macro ‘int’
5 | int n, q, x;
| ^~~
waterbottles3.cpp:5:5: error: ‘n’ does not name a type; did you mean ‘yn’?
5 | int n, q, x;
| ^
| yn
waterbottles3.cpp: In function ‘int main()’:
waterbottles3.cpp:9:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | cin >> n >> q >> x;
| ^
| yn
waterbottles3.cpp:9:14: error: ‘q’ was not declared in this scope
9 | cin >> n >> q >> x;
| ^
waterbottles3.cpp:9:19: error: ‘x’ was not declared in this scope
9 | cin >> n >> q >> x;
| ^
waterbottles3.cpp:3:18: error: declaration does not declare anything [-fpermissive]