Submission #690887

#TimeUsernameProblemLanguageResultExecution timeMemory
690887AiperiiiFootball (info1cup20_football)C++14
26 / 100
220 ms1240 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int n,k; cin>>n>>k; vector <int> a(n); long long sum=0; for(int i=0;i<n;i++){ cin>>a[i]; sum+=a[i]; } if(sum%2==1){ cout<<1; } else{ cout<<0; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...