Problem timeexam
User JhoCyber
Submission Time 2024-12-16 21:21:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
timeexam.cpp:5:1: note: in expansion of macro ‘int’
5 | int main(){
| ^~~
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
timeexam.cpp:6:5: note: in expansion of macro ‘int’
6 | int N;
| ^~~
timeexam.cpp:6:9: 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:5: note: in expansion of macro ‘int’
8 | int hour=N / 60;
| ^~~
timeexam.cpp:8:9: error: ‘hour’ was not declared in this scope
8 | int hour=N / 60;
|