随笔分类 -  数学——递推

摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4472代码:#include #include #include #include #include #include #include #include using namespace std;const int maxn = 1055;const int maxe = 1e6+100;const int INF = 0x3f3f3f3f;const int mod = 1e9 +7;int main(){ long long dp[maxn]; int n; dp[1] = ... 阅读全文
posted @ 2013-10-05 19:35 等待最好的两个人 阅读(112) 评论(0) 推荐(0)