
TRAINING
MrFox_
1.少说话, 多做事。
2.现在就是将来, 本来现实, 何必幻想!
展开
-
小学期训练题A-DP
A:点击打开链接 看不懂题实在是。。 看懂了在补吧。 B:点击打开链接 水DP #include #include #include #include using namespace std; const int maxn = 100 + 5; int dp[maxn][maxn]; int main() { int N, P, M, T; while(cin >> N原创 2015-07-14 13:29:41 · 323 阅读 · 0 评论 -
小学期训练题B-并查集
假期训练正式开始了, 然而我还是在补题。。。。 A:点击打开链接 #include #include #include #include using namespace std; const int maxn = 30000 + 5; int par[maxn]; int rank_[maxn]; int under[maxn]; void init() { for(int i =原创 2015-07-25 09:15:57 · 351 阅读 · 0 评论