会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一入OI深似海
我知道竞赛不是捷径,这条路上我们不会永远成功,就像我们不会永远失败一样。
博客园
新随笔
管理
2016年8月9日
cogs 餐巾 461(贪心)
摘要: /*虽然这暴力剪了又剪 改了又改 还是初始的20分...*/ #include #include #include #define maxn 2010 using namespace std; int n,sum,c[maxn],ans,p,t1,t2,c1,c2,f[maxn]; void Dfs(int now,int cost) { if(cost>=ans)return; ...
阅读全文
posted @ 2016-08-09 16:23 一入OI深似海
阅读(247)
评论(0)
推荐(0)
编辑
公告