摘要: Description You have a rooted tree consisting of n vertices. Each vertex of the tree has some color. We will assume that the tree vertices are numbere 阅读全文
posted @ 2016-07-18 16:45 ljh_2000 阅读(586) 评论(0) 推荐(0) 编辑
摘要: Description An array of positive integers a1, a2, ..., an is given. Let us consider its arbitrary subarray al, al + 1..., ar, where 1 ≤ l ≤ r ≤ n. For 阅读全文
posted @ 2016-07-18 15:10 ljh_2000 阅读(232) 评论(0) 推荐(0) 编辑