Problem mathexam
User NeeNawAmbulance
Submission Time 2024-01-19 15:29:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathexam.cpp: In function ‘int main()’:
mathexam.cpp:14:33: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
14 | if((a+b)%2 != 0 && (ans+1)%1== 0){
| ~~~~~~~^~
| | |
| | int
| double