Submission #992066

#TimeUsernameProblemLanguageResultExecution timeMemory
992066kachim2Football (info1cup20_football)C++17
0 / 100
188 ms856 KiB
#include <bits/stdc++.h> #include <iostream> #include <numeric> using namespace std; int main() { int T; cin >> T; for (int t = 0; t < T; t++) { long N, K; cin >> N >> K; vector<long> classes(N, 0); for (int i = 0; i < N; i++) { cin >> classes[i]; } const long S = accumulate(classes.begin(), classes.end(), 0); cout << S%2; } }
#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...