摘要: Stars Time limit: 0.25 secondMemory limit: 64 MB Astronomers often examine star maps where stars are represented by points on a plane and each star ha 阅读全文
posted @ 2016-08-19 16:51 mxzf0213 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Distance in the Tree Time limit: 1.0 secondMemory limit: 64 MB A weighted tree is given. You must find the distance between two given nodes. Input The 阅读全文
posted @ 2016-08-19 11:49 mxzf0213 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Nested Segments Time limit: 1.0 secondMemory limit: 64 MB You are given n segments on a straight line. For each pair of segments it is known that they 阅读全文
posted @ 2016-08-19 11:20 mxzf0213 阅读(394) 评论(0) 推荐(0) 编辑
摘要: Monobilliards Time limit: 1.0 secondMemory limit: 64 MB A monobilliards table set up in a gaming house of a town N turned out to be a very profitable 阅读全文
posted @ 2016-08-19 10:17 mxzf0213 阅读(305) 评论(0) 推荐(0) 编辑