Problem bombardirocrocodilo
User nzx
Submission Time 2026-01-22 07:09:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bombardirocrocodilo.cpp: In function ‘int main()’:
bombardirocrocodilo.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
bombardirocrocodilo.cpp:9:6: note: in expansion of macro ‘int’
9 | if (int(a[signed(a.size())-1])%2==1) cout << 1;
| ^~~
bombardirocrocodilo.cpp:9:6: error: expected ‘)’ before ‘long’
9 | if (int(a[signed(a.size())-1])%2==1) cout << 1;
| ~^
| )
bombardirocrocodilo.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
bombardirocrocodilo.cpp:10:11: note: in expansion of macro ‘int’
10 | else if (int(b[signed(b.size())-1])%2==1) cout << 2;
| ^~~
bombardirocrocodilo.cpp:10:11: error: expected ‘)’ before ‘long’
10 | else if (int(b[signed(b.size())-1])%2==1) cout << 2;
| ~^
|