Problem timeexam
User Um
Submission Time 2023-05-11 22:40:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:6:5: error: expected initializer before ‘cin’
6 | cin>> n
| ^~~
timeexam.cpp:10:5: error: ‘else’ without a previous ‘if’
10 | else if (n<60){
| ^~~~
timeexam.cpp:10:14: error: ‘n’ was not declared in this scope
10 | else if (n<60){
| ^