Problem | 3nplus1 |
---|---|
User | fanqie |
Submission Time | 2023-11-15 21:57:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:7: note: in expansion of macro ‘int’
8 | for (int i=0; n>1; i++){
| ^~~
3nplus1.cpp:8:11: error: ‘i’ was not declared in this scope
8 | for (int i=0; n>1; i++){
| ^
3nplus1.cpp:8:19: error: expected ‘)’ before ‘;’ token
8 | for (int i=0; n>1; i++){
| ~ ^
| )
3nplus1.cpp:8:21: error: ‘i’ w