Problem bestplace
User aanyabiswas
Submission Time 2024-10-10 15:49:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bestplace.cpp: In function ‘int main()’:
bestplace.cpp:19:14: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
19 | if(total1%N == 0){
| ~~~~~~^~
| | |
| double int
bestplace.cpp:30:14: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
30 | if(total2%N == 0){
| ~~~~~~^~
| | |
| double int