摘要:
void solve() { int n, a, b; cin >> n >> a >> b; int j = 0, o = 0; for (int i = 0; i < n; i++) { int x; cin >> x; if (x & 1) j++; else o++; } int ans =
阅读全文
posted @ 2024-06-15 01:12
临江柔
阅读(5)
推荐(0)
编辑
摘要:
#include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); string s; cin >> s >> s; int n = s.siz
阅读全文
posted @ 2024-06-15 00:59
临江柔
阅读(5)
推荐(0)
编辑