Problem bombardirocrocodilo
User FullName
Submission Time 2026-07-10 14:15:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bombardirocrocodilo.cpp: In function ‘int main()’:
bombardirocrocodilo.cpp:8:15: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator%’
8 | if(A.back % 2 == 1){
| ~~~~~~ ^ ~
| | |
| | int
| <unresolved overloaded function type>
bombardirocrocodilo.cpp:10:23: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator%’
10 | } else if (B.back % 2 == 1){
| ~~~~~~ ^ ~
| | |
| | int
| <unresolved overloaded function type>