随笔分类 -  二分

POJ2018 Best Cow Fences (二分答案+类前缀和)
摘要:题意 Farmer John's farm consists of a long row of N (1 =0,那么t[i]=t[i+1]+w[i]。若t[i+1] include include using namespace std; const int MAXN=100000+5; int N 阅读全文
posted @ 2017-01-29 18:56 cylcy 阅读(2965) 评论(0) 推荐(0)