Problem timeexam
User SharpnessChipped
Submission Time 2023-06-05 23:47:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:10:33: error: expected ‘)’ before ‘;’ token
10 | result = to_string(100*(h%24)+m;)
| ~ ^
| )
timeexam.cpp:10:34: error: expected primary-expression before ‘)’ token
10 | result = to_string(100*(h%24)+m;)
| ^
timeexam.cpp:15:1: error: expected ‘}’ at end of input
15 | }
| ^
timeexam.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^