
练习
文章平均质量分 85
NExPlain
Follow the heart,keep fighting,don't settle
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
百度之星2010 复赛2 购物搜索调研
dai ma #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long LL; #define CLR(a,b) memset(a,b,sizeof(a)) const int原创 2014-05-31 19:10:47 · 1520 阅读 · 0 评论 -
Codeforces#247 (Div.2) D - Random Task 组合数
D - Random Task原创 2014-05-24 00:39:08 · 797 阅读 · 0 评论 -
Codeforces #227(Div2) E. George and Cards 贪心+二分
题目链接 点击打开链接 简单题解 题意很有意思。给一个长度为n的数列,每个数在1-n之间且各不相同。你可以从这个数列中删数:每次选一段区间,可以删除这个区间中最小的那个数,然后每次删除得到的分数是这个区间的长度。题目要你把原序列删成一个规定的长度为k的序列,并要得分最高。 能确认的事情有:要删哪几个数是固定的;删一个数时候选的区间肯定要尽量大,尽原创 2014-01-31 16:15:08 · 1178 阅读 · 1 评论 -
Codeforces#258 (Div.2) E - Devu and Flowers 容斥
题目链接:http://codeforces.com/contest/451/problem/E 题目大意:给n个花坛,每个有f[i]个原创 2014-07-25 17:33:36 · 1210 阅读 · 0 评论