![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
练习
文章平均质量分 85
NExPlain
Follow the heart,keep fighting,don't settle
展开
-
百度之星2010 复赛2 购物搜索调研
dai ma#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long LL;#define CLR(a,b) memset(a,b,sizeof(a))const int原创 2014-05-31 19:10:47 · 1469 阅读 · 0 评论 -
Codeforces#247 (Div.2) D - Random Task 组合数
D - Random Task原创 2014-05-24 00:39:08 · 749 阅读 · 0 评论 -
Codeforces #227(Div2) E. George and Cards 贪心+二分
题目链接点击打开链接简单题解 题意很有意思。给一个长度为n的数列,每个数在1-n之间且各不相同。你可以从这个数列中删数:每次选一段区间,可以删除这个区间中最小的那个数,然后每次删除得到的分数是这个区间的长度。题目要你把原序列删成一个规定的长度为k的序列,并要得分最高。 能确认的事情有:要删哪几个数是固定的;删一个数时候选的区间肯定要尽量大,尽原创 2014-01-31 16:15:08 · 1108 阅读 · 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 · 1109 阅读 · 0 评论