Submission #316852

#TimeUsernameProblemLanguageResultExecution timeMemory
316852jungsnowFootball (info1cup20_football)C++14
0 / 100
2079 ms51452 KiB
#include<bits/stdc++.h> using namespace std; const int N = 100100; int n; void solve() { cin >> n; for (int x, i = 1; i <= n; ++i) { cin >> x; if (x & 1) cout << 1 << ' '; else cout << 0 << ' '; } cout << '\n'; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int t; cin >> t; while (t--) solve(); }
#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...