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

Compile Error

timeexam.cpp: In function ‘int32_t main()’:
timeexam.cpp:6:12: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
6 | ios_base::sync_with_studio(false); cin.tie(0); cout.tie(0);
| ^~~~~~~~~~~~~~~~
timeexam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
timeexam.cpp:9:2: note: in expansion of macro ‘int’
9 | int a== N % 60;
| ^~~
timeexam.cpp:9:6: error: ‘a’ was not declared in this scope
9 | int a== N % 60;
| ^
timeexam.cpp:10:13: error: expected initializer before ‘==’ token
10 | long long b== N/60;
| ^~
timeexam.cpp:11:14: error: ‘b’ was not declared in this scope
11 | cin >> a >> b;
| ^
timeexam.cpp:12:10: error: unable to find numeric literal operator ‘operator""a’
12 | cout << 100a + b;
| ^~~~