제출 #992068

#제출 시각아이디문제언어결과실행 시간메모리
992068kachim2Football (info1cup20_football)C++17
0 / 100
147 ms604 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...