제출 #525283

#제출 시각아이디문제언어결과실행 시간메모리
525283ksu2009enFootball (info1cup20_football)C++14
26 / 100
205 ms448 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main(){ ll t; cin >> t; while(t--){ ll n, k; cin >> n >> k; ll sum = 0; for(int i = 0; i < n; i++){ ll p; cin >> p; sum += p; } if(sum % 2 != 0) cout << 1; else cout << 0; } 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...