摘要: 战绩: A. Make A Equal to B 实际上就只有两种操作可能,一种是遇到了不同的位置直接换,一种是换出0和1一样的个数后重新排列顺序,两种操作比较最小值输出。 int main() { cin>>T; while(T--) { cin>>n; for(int i=1;i<=n;i++) 阅读全文
posted @ 2022-10-14 11:37 ztlsw 阅读(36) 评论(0) 推荐(0) 编辑