Submission #845058

#TimeUsernameProblemLanguageResultExecution timeMemory
845058PiokemonFootball (info1cup20_football)C++17
0 / 100
21 ms468 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; int suma=0; for (int x=0;x<n;x++){ cin >> a; suma+=a; } cout << suma%2; } 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...