Problem timeexam
User SharpnessChipped
Submission Time 2023-06-05 23:47:20
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;)
| ^