Difference between revisions of "2018 Multi-University, HDU Day 5"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
Solved by ultmaster. 01:15 (+) | Solved by ultmaster. 01:15 (+) | ||
+ | |||
+ | 题意:求一个数的所有只需要交换 $k$ 次以内的排列中,最小的和最大的。 | ||
+ | |||
+ | 题解:暴搜一下就好了。 | ||
== Problem D == | == Problem D == |
Revision as of 09:41, 6 August 2018
卡常卡得真刺激。
Problem B
Solved by ultmaster. 01:15 (+)
题意:求一个数的所有只需要交换 $k$ 次以内的排列中,最小的和最大的。
题解:暴搜一下就好了。
Problem D
Unsolved. (-10)
Problem E
Solved by ultmaster. 00:49 (+)
Problem G
Solved by kblack. 00:57 (+)
题意:区间覆盖线段树,修改巨多,离线询问点值。
题解:一个区间按 ST 表拆成两个,按 ST 表更新反方向贡献回去就好了。
Problem H
Solved by ultmaster. 04:27 (+5)
Problem J
Unsolved. (-5)