摘要: Description We all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he hides in 阅读全文
posted @ 2016-10-30 20:59 邻家那小孩儿 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Description People in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of all 阅读全文
posted @ 2016-10-30 20:11 邻家那小孩儿 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Description "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem is, give 阅读全文
posted @ 2016-10-30 19:53 邻家那小孩儿 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 一、问题 有N男N女,每个人都按照他对异性的喜欢程度排名。现在需要写出一个算法安排这N个男的、N个女的结婚,要求两个人的婚姻应该是稳定的。 何为稳定? 有两对夫妻M1 F2,M2 F1。M1心目中更喜欢F1,但是他和F2结婚了,M2心目中更喜欢F2,但是命运却让他和F1结婚了,显然这样的婚姻是不稳定 阅读全文
posted @ 2016-10-30 15:41 邻家那小孩儿 阅读(1123) 评论(0) 推荐(0) 编辑