Problem workload
User Pyrros
Submission Time 2023-03-04 15:11:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

workload.cpp: In function ‘int calculate(int, int, int, int)’:
workload.cpp:38:15: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
38 | return answer%(1e9+7);
| ~~~~~~^~~~~~~~
| | |
| int double