Problem solonim
User yanganyi
Submission Time 2023-07-12 21:09:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

solonim.cpp: In function ‘int32_t main()’:
solonim.cpp:8:34: error: ‘total’ was not declared in this scope
8 | for (int i=0,a;i<n;i++){cin>>a; total+=a;}
| ^~~~~
solonim.cpp:9:6: error: ‘total’ was not declared in this scope
9 | if (total%2){cout<<"No";}else{cout<<"Yes";}
| ^~~~~