Problem timeexam
User paaaaaaaaaaaaaaaaaaa
Submission Time 2024-11-07 21:14:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:26: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type’ {aka ‘double’} and ‘int’ to binary ‘operator%’
8 | int h = (floor(n/60))%24;
| ~~~~~~~~~~~~~^~~
| | |
| | int
| __gnu_cxx::__enable_if<true, double>::__type {aka double}