제출 #690569

#제출 시각아이디문제언어결과실행 시간메모리
690569KubetiFootball (info1cup20_football)C++14
26 / 100
205 ms1204 KiB
#include <iostream> #define int long long using namespace std; void testcase(){ int n, k, sum=0; cin>>n>>k; for(int i=0; i<n; i++){ int a; cin>>a; sum += a; } if(sum%2 == 1) cout<<1; else cout<<0; } int32_t main() { int t; cin>>t; while(t--){ testcase(); } 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...