
poj
文章平均质量分 90
Z_Mendez
You make the choice,and this is your price.
展开
-
POJ1062 昂贵的聘礼
POJ1062 昂贵的聘礼Description年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:”嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能够弄来他的水晶球,那么只要5000金币就行了。”探险家就跑到大祭司那里,向他要求皮袄或水晶球,原创 2015-06-05 19:39:20 · 736 阅读 · 0 评论 -
POJ 3630 Phone List
POJ3630 Phone listDescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers:Emerge原创 2015-07-20 06:17:28 · 595 阅读 · 0 评论 -
POJ 2752 Seek the Name, Seek the Fame(KMP)
POJ 2752 Seek the Name, Seek the FameDescriptionThe little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-born babies. T原创 2015-07-20 20:34:36 · 631 阅读 · 0 评论 -
POJ1160 【Post Office】
POJ1160 【Post Office】DescriptionThere is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each village is identified with a sin原创 2015-08-06 15:45:22 · 1322 阅读 · 0 评论