Submission #845061

#TimeUsernameProblemLanguageResultExecution timeMemory
845061PiokemonFootball (info1cup20_football)C++17
26 / 100
21 ms604 KiB
#include <bits/stdc++.h> using namespace std; typedef long long int ll; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); ll t,n,k,a; cin >> t; while(t--){ cin >> n >> k; ll suma=0; for (int x=0;x<n;x++){ cin >> a; suma+=a; } cout << suma%2LL; } cout << '\n'; 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...