Problem timeexam
User ChronoVortex
Submission Time 2023-11-10 09:16:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:8:59: error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type’ {aka ‘double’} and ‘int’ to binary ‘operator%’
8 | cout << setw(4) << setfill('0') << (floor(t/60)*100+t%60)%(12*60*60);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
| | |
| | int
| __gnu_cxx::__enable_if<true, double>::__type {aka double}