Submission #865014

#TimeUsernameProblemLanguageResultExecution timeMemory
865014Darren0724Football (info1cup20_football)C++17
26 / 100
24 ms1588 KiB
#include<bits/stdc++.h> using namespace std; #define all(x) x.begin(),x.end() #define int long long #define ACorz ios_base::sync_with_stdio(false);cin.tie(0); void solve(){ int n,k;cin>>n>>k; vector<int> v(n); int total=0; for(int i=0;i<n;i++){ cin>>v[i]; total+=v[i]; } cout<<(total&1); } int32_t main(){ ACorz; int t=1;cin>>t; while(t--){ solve(); } 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...