会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HugeGun
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
···
16
下一页
2016年3月14日
bzoj3678 简单题
摘要: 题目链接 bitset
阅读全文
posted @ 2016-03-14 19:25 HugeGun
阅读(242)
评论(0)
推荐(0)
2016年3月13日
bzoj2748 [HAOI2012]音量调节
摘要: 题目链接 为什不判v[i]+j<=c就要WA?
阅读全文
posted @ 2016-03-13 22:22 HugeGun
阅读(148)
评论(0)
推荐(0)
bzoj2287 [POJ Challenge]消失之物
摘要: 题目链接 少打个else 调半天QAQ 重点在47行,比较妙
阅读全文
posted @ 2016-03-13 21:56 HugeGun
阅读(196)
评论(0)
推荐(0)
bzoj1618 [Usaco2008 Nov]Buying Hay 购买干草
摘要: 题目链接 判断能不能买到i单位的干草
阅读全文
posted @ 2016-03-13 20:39 HugeGun
阅读(138)
评论(0)
推荐(0)
bzoj1625 [Usaco2007 Dec]宝石手镯
摘要: 01背包
阅读全文
posted @ 2016-03-13 20:39 HugeGun
阅读(120)
评论(0)
推荐(0)
bzoj1606
摘要: 题目链接 反着循环就是每个东西只能选一次
阅读全文
posted @ 2016-03-13 11:19 HugeGun
阅读(187)
评论(0)
推荐(0)
2016年3月12日
bzoj1708 [Usaco2007 Oct]Money奶牛的硬币
摘要: 题目链接 我是DP弱者!我是DP弱者!我是DP弱者! 两个循环反过来的话求的是考虑使用顺序的方案数 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio
阅读全文
posted @ 2016-03-12 17:06 HugeGun
阅读(167)
评论(0)
推荐(0)
bzoj1055 [HAOI2008]玩具取名
摘要: 题目链接 区间DP…… dp[i][j][k]表示i~j段能不能变成k字符 输入写丑了,不要在意QAQ 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstd
阅读全文
posted @ 2016-03-12 16:35 HugeGun
阅读(175)
评论(0)
推荐(0)
bzoj1090 [SCOI2003]字符串折叠
摘要: 题目链接 区间DP就是好写 dp[i][j]表示i~j折叠后的最短长度 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 6 #include<s
阅读全文
posted @ 2016-03-12 16:33 HugeGun
阅读(151)
评论(0)
推荐(0)
bzoj1068 [SCOI2007]压缩
摘要: 题目链接 还是区间DP做起来舒服些 dp[i][j][k]表示i~j前有/没有'W'的最短长度 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio>
阅读全文
posted @ 2016-03-12 16:31 HugeGun
阅读(197)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
16
下一页
公告