Problem timeexam
User Tolo925kt
Submission Time 2026-10-23 10:25:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:15: error: expected ‘)’ before ‘;’ token
8 | while (i > 60;) {
| ~ ^
| )
timeexam.cpp:8:16: error: expected primary-expression before ‘)’ token
8 | while (i > 60;) {
| ^
timeexam.cpp:12:6: error: redeclaration of ‘int N’
12 | int N = N / 60;
| ^
timeexam.cpp:4:6: note: ‘int N’ previously declared here
4 | int N;
| ^
timeexam.cpp:13:6: error: redeclaration of ‘int N’
13 | int N = N * 100;
| ^
timeexam.cpp:4:6: note: ‘int N’ previously declared here
4 | int N;
| ^
timeexam.cpp:14:17: error: expected ‘)’ before ‘;’ token
14 | while (N > 2359;) {
| ~ ^
| )
timeexam.cpp:14:18: error: expected primary-expression before ‘)’ token
14 | while (N > 2359;) {
|