제출 #365861

#제출 시각아이디문제언어결과실행 시간메모리
365861ahmedfouadnewFootball (info1cup20_football)C++17
26 / 100
85 ms1132 KiB
#include<bits/stdc++.h> using namespace std; #define s second #define f first #define pb push_back #define int long long int n,t,k; signed main() { string ans=""; cin>>t; while(t--) { cin>>n>>k; int x; int s=0; for(int i=0;i<n;i++) { cin>>x; s+=x; } ans+=(s%2)+'0'; } cout<<ans<<endl; 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...