![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
插头DP
team79
我在努力。
展开
-
poj 1739 插头DP
和上一题很像,只需要增加两行就行。。。原创 2014-04-16 12:46:44 · 697 阅读 · 0 评论 -
hdu 4804 插头DP
和上一篇很像 AC代码如下: #include #include #include #include using namespace std; const long long MOD = 1e9 + 7; int N, M, C, D; long long dp[2][21][1<<11]; char str[110][15]; int main(){ while( sca原创 2014-05-19 21:49:27 · 583 阅读 · 0 评论 -
uva 11270 插头DP
思路见点击打开链接的第二种解法 AC代码如下原创 2014-05-19 21:55:56 · 672 阅读 · 0 评论 -
poj 2411 状态压缩DP
解题报告:http://www.cppblog.com/sdfond/archive/2009/07/31/91761.html AC代码如下: #include #include #include #include #include using namespace std; vector hashs[1<<13]; int M, N; long long dp[13][1<<13原创 2014-01-17 09:48:54 · 785 阅读 · 0 评论 -
hdu 1693 插头DP
巨弱啊。。。。。 看了论文,不确定从上一行到下一行怎么转移,所以不原创 2014-04-13 20:37:24 · 589 阅读 · 0 评论 -
foj 1977 Pandora adventure(插头DP)
哎。。。。。 都是泪。。。。。 这游戏太难了。。。。 再一次写了三天才AC。。。 生活为什么要这么艰难。。。。原创 2014-04-20 09:33:21 · 679 阅读 · 0 评论 -
Ural 1519 Formula 1 插头DP
写了三天!终于AC了! 开始的时候无限TLE 然后发现要用hash 然后自己写了hash 然后原创 2014-04-16 12:22:51 · 648 阅读 · 0 评论