摘要: You are given a tree (an acyclic undirected connected graph) with N nodes. The tree nodes are numbered from 1 to N. We define dist(a, b) as the number 阅读全文
posted @ 2017-08-29 22:09 PIPIBoss 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Description Boatherds Inc. is a sailing company operating in the country of Trabantustan and offering boat trips on Trabantian rivers. All the rivers 阅读全文
posted @ 2017-08-29 00:23 PIPIBoss 阅读(130) 评论(0) 推荐(0) 编辑