摘要:
题目链接:HDU - 2874 比较少写tarjan,还要多练习。。。 阅读全文
摘要:
题目链接:HDU - 4252 据说水,可还是不会。。。。 参考:http://blog.csdn.net/a197p/article/details/45102907 阅读全文
摘要:
题目链接:POJ - 2452 阅读全文
摘要:
Dragon Balls HDU - 3635 题意:转移小球. 并查集. 1 #include<cstdio> 2 #include<cstring> 3 const int maxn=10010; 4 int f[maxn],ct[maxn],trans[maxn]; 5 int n,m; 6 阅读全文
摘要:
链接:http://codeforces.com/contest/803 A:Maximal Binary Matrix 1 #include<cstdio> 2 #include<cstring> 3 int m[110][110]; 4 5 int main() 6 { 7 int n,k; 8 阅读全文