会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Live In A Dream
https://github.com/MottoX
博客园
首页
新随笔
联系
订阅
管理
2016年1月31日
HDU 5617 DP
摘要: 沿着一条条斜线DP即可,dp[k][i][j]表示第k步,一端在第j列,另一端在第i列,构成回文的个数,沿着四个方向推下去即可。 1 #include <iostream> 2 #include <vector> 3 #include <algorithm> 4 #include <string>
阅读全文
posted @ 2016-01-31 21:10 活在夢裡
阅读(307)
评论(0)
推荐(0)
编辑
公告