容易知道我们能够在一次将数组排好 由于最终10交换,每个位置对答案都有贡献。所以如果不相等加入答案就行了
容易知道我们能够在一次将数组排好 由于最终10交换,每个位置对答案都有贡献。所以如果不相等加入答案就行了
上一篇:[NOIP1998]拼数
下一篇:B. Arrays Sum
http://codeforces.com/contest/724/problem/B 被坑了,一开始以为如果有一行已经是排好序了
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M