摘要: 参考资料 科普 https://en.wikipedia.org/wiki/Hungarian_algorithm 详细展示算法思想 http://www.math.harvard.edu/archive/20_spring_05/handouts/assignment_overheads.pdf 阅读全文
posted @ 2017-07-17 18:11 cs1131 阅读(185) 评论(0) 推荐(0) 编辑
摘要: http://acm.split.hdu.edu.cn/showproblem.php?pid=5510 1 //#define txtout 2 //#define debug 3 #include<bits/stdc++.h> 4 #define mt(a,b) memset(a,b,sizeo 阅读全文
posted @ 2016-09-08 12:25 cs1131 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 今天师姐教了我一招,批处理的批处理。啥意思呢,就是批处理文件run.sh 里面可能是 ./a input.txt > output.txt./a input.txt > output.txt./a input.txt > output.txt./a input.txt > output.txt./a 阅读全文
posted @ 2016-09-06 18:53 cs1131 阅读(2133) 评论(0) 推荐(0) 编辑
摘要: http://acm.hust.edu.cn/vjudge/contest/130363#overview 比赛 A 题意:每个题目有难度1-10, 可能被泄露, 以及是否通过. 求多少对可疑记录, 可疑记录对定义为 泄露的题目通过了,却没通过难度低,没泄露的题目. 解法: on统计每个难度1-10 阅读全文
posted @ 2016-08-29 10:06 cs1131 阅读(190) 评论(0) 推荐(0) 编辑
摘要: http://acm.split.hdu.edu.cn/showproblem.php?pid=2686 and http://codevs.cn/problem/1169/ 题意: 从矩阵左上角1,1,走到右下角n,n,每次只能向右或向下走,到达nn后,再走回1,1,往回走时,每次只能向左或者向上 阅读全文
posted @ 2016-08-22 14:49 cs1131 阅读(193) 评论(0) 推荐(0) 编辑