随笔分类 - water~~
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2033 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 8 9 int main()10 {11 //f...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2032 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 9 int main()10 {11 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2031 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2030 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 8 9 int main()10 {11 //fr...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2029 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 9 int main()10 {11 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2027 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 int main(...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2026 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ...
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 int main()10 {11 char str[120];12 while(~scanf(...
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 int main()10 {11 //freopen("in.txt","r",stdin);12 ...
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int map[60][10]; 9 int main()10 {11 int n,m;12 whi...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2022二B了,没读题直接错了两次。。。。郁闷 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using name...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2021water~~~ 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 i...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1874 1 //标准最短路模板 2 //需要注意的是两点间可能有多组 3 //需要取最短的 4 #include 5 #include 6 #include 7 #include 8 #include 9 #inc...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=2544最短路径DIJKSTRA 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std;...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1068二分图的最大独立集数=节点数(n)— 最大匹配数(m)另外需要注意的是:本题求出的最大匹配数是实际的两倍需要m/2 1 #include 2 #include 3 #include 4 #include...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1151增广路的变种2:DAG图的最小路径覆盖=定点数-最大匹配数 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace s...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1213 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int N=1005; 8 int...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2018 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2015 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2013 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 int n; 9 while(ci...
阅读全文

浙公网安备 33010602011771号