Problem 3nplus1
User fanqie
Submission Time 2023-11-15 22:02:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
3nplus1.cpp:6:2: note: in expansion of macro ‘int’
6 | int n;
| ^~~
3nplus1.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n;
| ^
| yn
3nplus1.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
3nplus1.cpp:8:2: note: in expansion of macro ‘int’
8 | int m;
| ^~~
3nplus1.cpp:8:6: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
8 | int m;
| ^
| tm
3nplus1.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
3nplus1.cpp:9:2: note: in expansion of macro ‘int’