会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
asdflkj
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2014年10月3日
hdu 4778 Gems Fight!(状态压缩DP)
摘要: 又是一道状态压缩,刚开始老是往博弈的方法想,总是没思路。#include #include #include #include using namespace std;const int N=21;const int inf=0x3f3f3f3f;int g,n,s;int sum[1<<N];in...
阅读全文
posted @ 2014-10-03 02:11 asdflkj
阅读(186)
评论(0)
推荐(0)
编辑
hdu 5036 Explosion
摘要: 学了下bitset#include #include #include using namespace std;const int N=1005;bitseta[N];int t,n,cas=1,c;int main(){ cin>>t; while(t--){ scanf...
阅读全文
posted @ 2014-10-03 02:08 asdflkj
阅读(420)
评论(0)
推荐(0)
编辑
公告