제출 #691022

#제출 시각아이디문제언어결과실행 시간메모리
691022vladiliusFootball (info1cup20_football)C++17
26 / 100
26 ms2016 KiB
#include <iostream> #include <vector> using namespace std; using ll = long long; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t, n, k, x; cin>>t; while (t--){ cin>>n>>k; ll sum = 0; while (n--){ cin>>x; sum += x; } if (sum % 2 == 0){ cout<<0; } else { cout<<1; } } }
#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...