Problem pairsums
User Kiameimon
Submission Time 2024-01-08 09:17:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairsums.cpp: In function ‘int main()’:
pairsums.cpp:12:10: error: invalid operands of types ‘long long int [n]’ and ‘int’ to binary ‘operator&’
12 | if(arr & 1) odd++;
| ~~~ ^ ~
| | |
| | int
| long long int [n]