会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Thheoo
遥不可及
博客园
首页
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2018年7月20日
<HAOI2008>硬币购物
摘要: 和神奇dp的战斗 还有容斥原理 终于get到了
阅读全文
posted @ 2018-07-20 16:16 Thheoo
阅读(151)
评论(0)
推荐(0)
2018年7月15日
<SDOI2009>学校食堂
摘要: 我. 调了快一天 因为一个位置错误的感叹号 :-) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 狗dp
阅读全文
posted @ 2018-07-15 16:47 Thheoo
阅读(205)
评论(0)
推荐(0)
2018年7月13日
<BZOJ3032>七夕祭
摘要: 水 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<cmath> using namespace std; int n,m,t; long long ans=0; int x[100
阅读全文
posted @ 2018-07-13 19:51 Thheoo
阅读(166)
评论(0)
推荐(0)
<BZOJ3033>太鼓达人
摘要: emm 一开始并没有get到点 水了一天 现在还在水博客emm 颓废 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; long long vis[2050],
阅读全文
posted @ 2018-07-13 19:48 Thheoo
阅读(145)
评论(0)
推荐(0)
2018年7月12日
[转]<版本二>写代码的小女孩
摘要: 天冷极了,下着雪,又快黑了。这是一年的最后一天——大年夜。在这又冷又黑的晚上,一个乖巧的小女孩在机房里调试程序。她从家里出来的时候还穿着一件外套,但是有什么用呢?那是一双很大的外套——那么大,不知是哪一年买的。为了敲代码的时候更方便,她把它脱掉了。同学们常常嘲笑她,因为外套上留下了她梦中写下的伪代码
阅读全文
posted @ 2018-07-12 20:03 Thheoo
阅读(190)
评论(0)
推荐(0)
[转]<版本一>写代码的小女孩
摘要: 天冷极了,下着雪,又快黑了。这是NOIP的前夜。在这又冷又黑的晚上,一个衣衫破烂的小女孩在机房敲着代码。她从班里逃出来的时候还拿着一本算导,但是有什么用呢?那是一本很破旧的书——那么大,一向是她妈妈垫桌角的。她默写SPFA的时候,年级主任突然冲进机房,吓得她把算导都丢掉了。书叫一个学数竞捡起来拿着跑
阅读全文
posted @ 2018-07-12 19:58 Thheoo
阅读(134)
评论(0)
推荐(0)
<JZOJ4269>挑竹签
摘要: emm一开始将++cnt敲成cnt++ 就很委屈 一个拓扑排序而已 Description 挑竹签——小时候的游戏 挑竹签——小时候的游戏 夏夜,早苗和诹访子在月光下玩起了挑竹签这一经典的游戏。挑竹签,就是在桌上摆上一把竹签,每次从最上层挑走一根竹签。如果动了其他的竹签,就要换对手来挑。在所有的竹签
阅读全文
posted @ 2018-07-12 15:33 Thheoo
阅读(256)
评论(0)
推荐(0)
2018年7月11日
<NOI2001>炮兵阵地
摘要: 一如既往的dp emm调了很久 还是我太low了 本来想不瞅题解,自己yy出来 然而失败了 难过 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<algorithm> 5 using namespace s
阅读全文
posted @ 2018-07-11 22:19 Thheoo
阅读(135)
评论(0)
推荐(0)
<USACO09FEB>庙会捷运Fair Shuttleの思路
摘要: 一个没有被我成功证明的 贪心 但是 ac了的 别人排序都是排终点.但我的排终点错了emm排起点才对qvq 有没有人友情看看怎么证(没有 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using na
阅读全文
posted @ 2018-07-11 20:29 Thheoo
阅读(136)
评论(16)
推荐(0)
<SCOI2005>互不侵犯の思路
摘要: 日常玄学dp 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<algorithm> 5 using namespace std; 6 int n,k,judge[1000],num[1000]; 7 lon
阅读全文
posted @ 2018-07-11 15:19 Thheoo
阅读(123)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告