摘要: Codeforces round #888 (Div. 3) # 题目 https://codeforces.com/contest/1851/problem/B 给出t个数组a,经过数组中的偶数之间,奇数之间,可以交换任意次,若经过若干次交换后,数组为非降序,则输出YES,反之输出NO # 样例 阅读全文
posted @ 2023-07-27 15:08 归途xxx 阅读(3) 评论(0) 推荐(0) 编辑
摘要: # Codeforces Round 886 (Div. 4) D. Balanced Round https://codeforces.com/contest/1850/problem/D ## 题意 给出 t 组的 n,k,和一个数组a,可对数组a进行两种操作: - 交换元素位置 - 删除元素 阅读全文
posted @ 2023-07-23 14:49 归途xxx 阅读(15) 评论(0) 推荐(0) 编辑