搜索资源列表
Match111
- 稳定婚姻匹配:有N男N女,每个人都按照他对异性的喜欢程度排名。现在需要写出一个算法安排这N个男的、N个女的结婚,要求两个人的婚姻应该是稳定的。-Stable marriage matching: there are N M N M, everyone according to his degree of love for the opposite sex rankings. Now you need to write an algorithm to arrange a male N, N-wom