摘要:
#include #include #include #include #include using namespace std; const int maxn = 100000*3 + 100; int par[maxn]; int Rank[maxn]; int N, K; int T[maxn], X[maxn], Y[maxn]; //初始化n个元素 void init(... 阅读全文
摘要:
#include #include using namespace std; const int maxn = 1000 + 20; int n, m, M; int dp[maxn][maxn]; /* 4 3 10000 */ void solve() { cin >> n >> m >> M; dp[0][0] = 1; //dp[i][j] = 存储着 j... 阅读全文
摘要:
#include #include using namespace std; const int maxn = 1000 + 100; int n, m; char s[maxn], t[maxn]; int dp[maxn][maxn]; void solve() { cin >> n >> m; cin >> s >> t; for (int i =... 阅读全文
摘要:
Aggressive cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17797 Accepted: 8485 Description Farmer John has built a new long barn, wit 阅读全文