2013年11月29日

I - Apple Tree 树形dp

摘要: I -Apple TreeTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionYou are given a rooted tree withnvertices. In each leaf vertex there's a single integer — the number of apples in this vertex.Theweightof a subtree is the sum of all num 阅读全文

posted @ 2013-11-29 20:44 keep trying 阅读(217) 评论(0) 推荐(0)

D - Levko and Array Recovery 构造

摘要: D -Levko and Array RecoveryTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionLevko loves arraya1, a2, ... , an, consisting of integers, very much. That is why Levko is playing with arraya, performing all sorts of operations with it. Eac 阅读全文

posted @ 2013-11-29 15:02 keep trying 阅读(366) 评论(0) 推荐(0)

导航