Submission #690569

#TimeUsernameProblemLanguageResultExecution timeMemory
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...