摘要: A Made Up 思路:统计A的个数,O(1)统计cnt[bc] void solve() { int n; cin >> n; vector<int> cnt (n + 1), b(n + 1); for (int i = 1; i <= n; ++i) { int x; cin >> x; c 阅读全文
posted @ 2024-07-16 20:17 bible_w 阅读(6) 评论(0) 推荐(0) 编辑