摘要: C. Paint Tree time limit per test 2 seconds memory limit per test 256 megabytes You are given a tree with $n$ vertexes and $n$ points on a plane, no t 阅读全文
posted @ 2018-11-07 14:47 Fxkkks 阅读(261) 评论(0) 推荐(0) 编辑
摘要: New Year Tree time limit per test 2 seconds memory limit per test 256 megabytes You are a programmer and you have a New Year Tree (not the traditional 阅读全文
posted @ 2018-11-07 14:45 Fxkkks 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 区间最大子段和 You are given a sequence $A[1], A[2], ..., A[N]. ( |A[i]| ≤ 15007 , 1 ≤ N ≤ 50000)$. A query is defined as follows: $Query(x,y) = Max (a[i]+a[ 阅读全文
posted @ 2018-11-07 14:42 Fxkkks 阅读(352) 评论(0) 推荐(0) 编辑
摘要: B. A Lot of Games time limit per test 1 second memory limit per test 256 megabytes Andrew, Fedor and Alex are inventive guys. Now they invent the game 阅读全文
posted @ 2018-11-07 14:40 Fxkkks 阅读(200) 评论(0) 推荐(0) 编辑
摘要: vjudge_XJ_Contest0 A.Spheres "CodeChef KSPHERES" "Chinese" Eugene has a sequence of upper hemispheres and another of lower hemispheres. The first set 阅读全文
posted @ 2018-11-06 15:34 Fxkkks 阅读(581) 评论(0) 推荐(0) 编辑
摘要: E. Anton and Tree time limit per test 3 seconds memory limit per test 256 megabytes Anton is growing a tree in his garden. In case you forgot, the tre 阅读全文
posted @ 2018-11-06 15:22 Fxkkks 阅读(237) 评论(0) 推荐(0) 编辑
摘要: A Wedding Party We all know that we have a big and exciting wedding party ahead. So we made a plan to go to buy a gift for the wedding party. We all g 阅读全文
posted @ 2018-11-06 15:14 Fxkkks 阅读(227) 评论(0) 推荐(0) 编辑