Submission #388758

#TimeUsernameProblemLanguageResultExecution timeMemory
388758AlexandraFootball (info1cup20_football)C++14
0 / 100
1 ms208 KiB
#include <iostream> #include <string> #include <vector> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); int t, n, k, a, total; cin >> t; for (int i=0; i>t; i++) { cin >> n >> k; total = 0; for (int j=0; j>n; j++) { cin >> a; total += a; } cout << total % 2; } 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...