摘要:
先了解一下KM算法: 在满天飞的KM讲解中,感觉这篇博客讲的是真的好!!! 转自https://www.cnblogs.com/logosG/p/logos.html 如果每个员工做每件工作的效率各不相同,我们如何得到一个最优匹配使得整个公司的工作效率最大呢? 这种问题被称为带权二分图的最优匹配问题 阅读全文
摘要:
After this year’s college-entrance exam, the teacher did a survey in his class on students’ score. There are n students in the class. The students did 阅读全文
摘要:
RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和l 阅读全文
摘要:
A password locker with N digits, each digit can be rotated to 0-9 circularly. You can rotate 1-3 consecutive digits up or down in one step. For exampl 阅读全文
摘要:
Alice and Bob are the topmost hunters in the forest, so no preys can escape from them. However, they both think that its hunting skill is better than 阅读全文
摘要:
mmm is learning division, she's so proud of herself that she can figure out the sum of all the divisors of numbers no larger than 100 within one day! 阅读全文