Problem timeexam
User fanqie
Submission Time 2023-11-15 10:11:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int32_t main()’:
timeexam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
timeexam.cpp:6:2: note: in expansion of macro ‘int’
6 | int N;
| ^~~
timeexam.cpp:6:6: error: ‘N’ was not declared in this scope
6 | int N;
| ^
timeexam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
timeexam.cpp:8:2: note: in expansion of macro ‘int’
8 | int a;
| ^~~
timeexam.cpp:8:6: error: ‘a’ was not declared in this scope
8 | int a;
| ^
timeexam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
timeexam.cpp:10:2: note: in expansion of macro ‘int’
10 | int b;
| ^~~
timeexam.cpp:10:6: error: ‘b’ was n