摘要:
题目链接:http://ac.nbutoj.com/Problem/view.xhtml?id=1409思路:一道不错的题,递推关系式之后还得处理大数。View Code 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<iostream> 3 #include<cstdio> 4 #include<cstring> 5 #include<algorithm> 6 using namespace std; 7 const int MAXN=110; 8 int dp1[MAXN][MAXN],dp2[MAX 阅读全文