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

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:7:28: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type’ {aka ‘double’} and ‘int’ to binary ‘operator%’
7 | result = (round((N-30)/60)%24)*100+N%60;
| ~~~~~~~~~~~~~~~~^~~
| | |
| | int
| __gnu_cxx::__enable_if<true, double>::__type {aka double}