LA 3177 Beijing Guards(长城守卫)
摘要:
贪心找最优策略。大白上有详解。 不过这里有几个值得思考的地方。 还有几个地方想不明白,脑子不够用了,先记着,改天再做一遍#include #include using namespace std;const int maxn = 100005;int n,a[maxn],left[maxn]... 阅读全文
posted @ 2015-01-21 20:30 round_0 阅读(179) 评论(0) 推荐(0)
浙公网安备 33010602011771号