Problem | duckwar |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-17 14:45:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckwar.cpp: In function ‘int32_t main()’:
duckwar.cpp:10:81: error: invalid operands of types ‘const long double’ and ‘int’ to binary ‘operator%’
10 | cout<<max((t-floor(num))*(k+floor(num)*u), (t-floor(num)-1)*(k+floor(num)*u+u))%1000000007;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
| | |
| const long double int