摘要: Kuro is living in a country called Uberland, consisting of nn towns, numbered from 11 to nn, and n−1n−1 bidirectional roads connecting these towns. It 阅读全文
posted @ 2018-05-17 11:54 行远山 阅读(364) 评论(0) 推荐(0) 编辑
摘要: You are given several queries. Each query consists of three integers pp, qq and bb. You need to answer whether the result of p/qp/q in notation with b 阅读全文
posted @ 2018-05-17 11:16 行远山 阅读(235) 评论(0) 推荐(0) 编辑