Problem doubletrouble
User Halud
Submission Time 2025-02-11 20:29:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doubletrouble.cpp: In function ‘int main()’:
doubletrouble.cpp:45:31: error: invalid operands of types ‘float’ and ‘float’ to binary ‘operator%’
45 | int re = ceil(float(k) / n) % float(mod);
| ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
| | |
| float float