摘要: 1018. Binary Apple TreeTime limit: 1.0 secondMemory limit: 64 MBLet's imagine how apple tree looks in binary computer world. You're right, it looks just like a binary tree, i.e. any biparous branch splits up to exactly two new branches. We will enumerate by integers the root of binary apple 阅读全文
posted @ 2013-10-30 20:03 芷水 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Starship TroopersTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8540 Accepted Submission(s): 2379 Problem DescriptionYou, the leader of Starship Troopers, are sent to destroy a base of the bugs. The base is built underground. It is actually a h 阅读全文
posted @ 2013-10-30 10:02 芷水 阅读(229) 评论(0) 推荐(0) 编辑