2017年8月15日

poj 2955(区间dp)

摘要: 区间dp基础题,正在学 阅读全文

posted @ 2017-08-15 21:00 发牌员 阅读(116) 评论(0) 推荐(0)

uva 1626(区间dp)

摘要: 根据路径打印符号,但目前的问题是,我区间dp都写不好 阅读全文

posted @ 2017-08-15 20:53 发牌员 阅读(129) 评论(0) 推荐(0)

hdu 1003(连续子序列的最大值)

摘要: 和前面的基本一样,本来想写个状态转移方程来的,结果没想到还是和前面的一样..... 阅读全文

posted @ 2017-08-15 09:44 发牌员 阅读(137) 评论(0) 推荐(0)

hdu 3786(SPFA+dfs)

摘要: #include #include #include #include #include using namespace std; const int maxn=100000+10; const int inf=999999999; int hade1[maxn],hade2[20]; struct note { int next,e,w; }; note a[2*maxn],... 阅读全文

posted @ 2017-08-15 08:34 发牌员 阅读(172) 评论(0) 推荐(0)

导航