Live2d Test Env
摘要: You are given a tree (an undirected acyclic connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. Each edge has an integer value assigned t 阅读全文
posted @ 2017-12-18 22:26 nimphy 阅读(178) 评论(0) 推荐(0) 编辑
摘要: You are given a node-labeled rooted tree with n nodes. Define the query (x, k): Find the node whose label is k-th largest in the subtree of the node x 阅读全文
posted @ 2017-12-18 22:26 nimphy 阅读(241) 评论(0) 推荐(0) 编辑
摘要: ιYou are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. We will ask you to perfrom some instruct 阅读全文
posted @ 2017-12-18 21:57 nimphy 阅读(195) 评论(0) 推荐(0) 编辑