摘要: [POJ1062]昂贵的聘礼 试题描述 年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:"嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能 阅读全文
posted @ 2016-08-26 20:23 xjr01 阅读(276) 评论(0) 推荐(0) 编辑
摘要: [codeforces 528]B. Clique Problem 试题描述 The clique problem is one of the most well-known NP-complete problems. Under some simplification it can be form 阅读全文
posted @ 2016-08-26 15:43 xjr01 阅读(346) 评论(0) 推荐(0) 编辑
摘要: [codeforces 528]A. Glass Carving 试题描述 Leonid wants to become a glass carver (the person who creates beautiful artworks by cutting the glass). He alrea 阅读全文
posted @ 2016-08-26 15:37 xjr01 阅读(386) 评论(0) 推荐(0) 编辑
摘要: [codeforces 549]G. Happy Line 试题描述 Do you like summer? Residents of Berland do. They especially love eating ice cream in the hot summer. So this summe 阅读全文
posted @ 2016-08-26 15:24 xjr01 阅读(253) 评论(0) 推荐(0) 编辑
摘要: [POJ1003]Hangover 试题描述 How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card 阅读全文
posted @ 2016-08-26 08:12 xjr01 阅读(187) 评论(0) 推荐(0) 编辑