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

Compile Error

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