Problem | timeexam |
---|---|
User | Galaxy |
Submission Time | 2023-11-17 11:08:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp:5:11: error: expected unqualified-id before ‘new’
5 | long long new;
| ^~~
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:11:9: error: expected type-specifier before ‘=’ token
11 | new = n % 1440;
| ^
timeexam.cpp:12:16: error: expected type-specifier before ‘/’ token
12 | hour = new / 60;
| ^
timeexam.cpp:13:18: error: expected type-specifier before ‘%’ token
13 | minute = new % 60;
| ^