cychester

2021年3月8日

2020-2021 Winter Petrozavodsk Camp, Day 9 Contest-线段树

摘要: Description 给出一个$a$,选出$7$个数要求$P_1\ge P_2\ge P_3\ge P_4\ge P_5 \ge P_6 \ge P_7$ 并且使得$P_1<P_2+P_3<P_4+P_5+P_6+P_7$,最后令$7$个数的和最大 Solution 先对$a$数组降序排序 考虑$ 阅读全文

posted @ 2021-03-08 22:13 cychester 阅读(300) 评论(0) 推荐(0) 编辑

导航