Problem | missingnumber |
---|---|
User | Astronite |
Submission Time | 2025-08-05 20:52:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
missingnumber.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
missingnumber.cpp:4:1: note: in expansion of macro ‘int’
4 | int main()
| ^~~
missingnumber.cpp: In function ‘int main()’:
missingnumber.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
missingnumber.cpp:6:5: note: in expansion of macro ‘int’
6 | int n;
| ^~~
missingnumber.cpp:6:9: error: ‘n’ was not declared in this scope
6 | int n;
| ^
missingnumber.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
missingnumber.cpp:8:5: note: in expansion of macro ‘int’
8 | int m = n - 1;
| ^~~
missingnumber.cpp:8:9: error: ‘m’ was not declared in this scope; did yo