摘要: 输入样例: 5 5 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 0 期望输出: 8 代码实现: #include<bits/stdc++.h> using namespace std; typedef pair<int,int> pii; cons 阅读全文
posted @ 2025-09-23 21:24 小花护符 阅读(8) 评论(0) 推荐(0)