Submission #418207

#TimeUsernameProblemLanguageResultExecution timeMemory
418207dolphingarlicFootball (info1cup20_football)C++14
26 / 100
35 ms1992 KiB
#include <bits/stdc++.h> typedef long long ll; using namespace std; int main() { cin.tie(0)->sync_with_stdio(0); int t; cin >> t; while (t--) { int n, k; cin >> n >> k; ll tot = 0; for (int i = 1; i <= n; i++) { ll sz; cin >> sz; tot += sz; } cout << (tot & 1); } 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...