제출 #365993

#제출 시각아이디문제언어결과실행 시간메모리
365993BelalFootball (info1cup20_football)C++14
26 / 100
309 ms620 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ long long n,k,sum=0,x; cin>>n>>k; for(int i=0;i<n;i++){ cin>>x; sum+=x; } if(sum%2==0){cout<<0;} else{cout<<1;} } return 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...