摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
区间最大子段和 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[ 阅读全文
摘要:
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 阅读全文