HDU 1160 FatMouse's Speed LIS DP
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1160 同样是先按它的体重由小到大排,相同就按speed排就行。 这样做的好处是,能用O(n^2)枚举,因为前面的肯定不能和后面的搭配了。 然后就是LIS的题了, #include <cstdio> #includ 阅读全文
posted @ 2016-10-27 20:43 stupid_one 阅读(167) 评论(0) 推荐(0)
浙公网安备 33010602011771号