摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文