稳定婚姻匹配可参考Matrix67的博客http://www.matrix67.com/blog另外可参考Richard A.Brualdi的《组合数学》 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxn=200; 7 int T,n,wp[maxn][maxn],wm[maxn],mm[maxn]; 8 9 int tran(char s)10 {11 int d=s;12 return d;13 }14 int main()15 {16 //fre... Read More
posted @ 2013-07-10 14:45 longlongago Views(491) Comments(0) Diggs(0) Edit