Problem | pairsums |
---|---|
User | wongethan8192 |
Submission Time | 2023-02-11 15:33:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pairsums.cpp: In function ‘int main()’:
pairsums.cpp:6:41: error: request for member ‘push_back’ in ‘arr’, which is of non-class type ‘int [N]’
6 | for(int x=0;x<N;x++){int X=0;cin>>X;arr.push_back(X);if(X%2==1)odd++;else even++;}
| ^~~~~~~~~