摘要: 输入样例: 4522222521211129220222021 输出样例: 1111111111110001021111110111011110111010 解析: 贪心+模拟 既然要求max(a,b)最小,所以分配时优先均匀分... 阅读全文
posted @ 2021-07-13 20:38 泥烟 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 输入样例: 22 2-1 11 13 40 -1 -2 -3-1 -2 -3 -4-2 -3 -4 -5 输出样例: 230 #include#includeusing namespace std;int a[110][110];int s... 阅读全文
posted @ 2021-07-13 15:07 泥烟 阅读(26) 评论(0) 推荐(0) 编辑