摘要:
Description 现在我们有一个长度为n的整数序列A。但是它太不好看了,于是我们希望把它变成一个单调严格上升的序列。 但是不希望改变过多的数,也不希望改变的幅度太大。 solution 正解:DP 这题相当诡异. 首先是一个套路,转化严格递增为不降,我们只需要把序列中的每一个元素都变为 $a[ 阅读全文
摘要:
Description A supermarket in Tehran is open 24 hours a day every day and needs a number of cashiers to fit its need. The supermarket manager has hired 阅读全文
摘要:
Description The galaxy war between the Empire Draco and the Commonwealth of Zibu broke out 3 years ago. Draco established a line of defense called Gro 阅读全文
摘要:
Description You have been given a matrix CN M, each element E of CN M is positive and no more than 1000, The problem is that if there exist N numbers 阅读全文