摘要: http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2412 实验证明,被小错误搞死的感觉太不爽了!! 这题是去年省赛的题,今天重新做了一下。我了个去。被俩二b错误搞死了。!! 思路:先预处理出某一秒如果切的话能得到的最大值。然后单调队列优化一下就行。 View Code #include <iostream>#include <cstdio>#include <cmath>#include <vector>#include <cstring& 阅读全文
posted @ 2013-03-19 20:50 AC_Von 阅读(698) 评论(5) 推荐(0) 编辑