![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
2014网络赛
文章平均质量分 72
firstorloser
这个作者很懒,什么都没留下…
展开
-
Post Robot(模拟)
直接模拟处理就好了。原创 2014-09-14 17:05:37 · 450 阅读 · 0 评论 -
Dice (bfs)
直接暴搜。#include #include#include#includeusing namespace std;struct A{ int f[7]; int ct;}a,b;bool vis[7][7][7][7][7];void makeflag(A &a){ vis[a.f[1]][a.f[2]][a.f[3]][a.f[4]][a.原创 2014-09-14 17:12:09 · 191 阅读 · 0 评论 -
hdu 5045 Contest (状压DP)
状压dp,将m道题分段,每段有ndao原创 2014-09-27 18:38:17 · 326 阅读 · 0 评论 -
hdu 5008 Boring String Problem(后缀数组)
每个后缀的所有前缀即为字符串的子串,先处理出每个后缀的所有前缀(与前一个后缀的某前缀相等的前缀除外)的名次区间。例如aaa这个串。它有三个后缀aaaaaa第一个后缀所有的前缀对应的名次区间为[1,1]第二个后缀对应的区间为[2,2]第三个后缀对应的区间为[3,3]如下:1a 2a a 3a a原创 2014-10-04 12:08:51 · 294 阅读 · 0 评论