摘要: 加减乘除 1 //compare比较函数:相等返回0,大于返回1,小于返回-1 2 int compare(string str1,string str2) 3 { 4 if(str1.length()>str2.length()) return 1; 5 else if(str1.length() 阅读全文
posted @ 2017-07-25 22:20 yijiull 阅读(188) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-07-25 19:43 yijiull 阅读(2) 评论(0) 推荐(0) 编辑
摘要: SAM I AM UVA - 11419 二分图最小覆盖 二分图的最小顶点覆盖数等于最大匹配数。 且选择的顶点为: 从左边未被匹配的点开始扩展匈牙利树,标记树中的所有节点,取左边未被标记的和右边被标记的。 1 #include <bits/stdc++.h> 2 using namespace st 阅读全文
posted @ 2017-07-25 16:27 yijiull 阅读(256) 评论(0) 推荐(0) 编辑