摘要: 1020. Tree Traversals (25)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to output the level order traversal sequence of the corresponding binar 阅读全文
posted @ 2013-09-21 19:53 路萧 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1013. Battle Over Cities (25)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIt is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if we need to repair a 阅读全文
posted @ 2013-09-21 12:38 路萧 阅读(215) 评论(0) 推荐(0) 编辑