摘要: void solve() { int n; cin >> n; int odd = 0, even = 0; for (int i = 0; i < n; i++) { int a; cin >> a; if (a & 1) odd++; else even++; } int t = odd & 3 阅读全文