- 博客(7)
- 收藏
- 关注
转载 CodeForces 196C.Paint Tree(分治+极角排序)
C. Paint Treetime limit per test 2 secondsmemory limit per test 256 megabytesYou are given a tree with \(n\) vertexes and \(n\) points on a plane, no three points lie on one straight line.You...
2018-11-07 14:47:00 124
转载 CodeForces 379F-New Year Tree(LCA+直径)
New Year Treetime limit per test 2 secondsmemory limit per test 256 megabytesYou are a programmer and you have a New Year Tree (not the traditional fur tree, though) — a tree of four vertices:...
2018-11-07 14:45:00 106
转载 spoj GSS1.区间最大子段和(线段树)
区间最大子段和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[i+1]+...+a[j] ; x ≤ i ≤ j ≤ y)\).Given M ...
2018-11-07 14:42:00 82
转载 CodeForces 455B.A Lot of Games
B. A Lot of Gamestime limit per test 1 secondmemory limit per test 256 megabytesAndrew, Fedor and Alex are inventive guys. Now they invent the game with strings for two players.Given a group ...
2018-11-07 14:40:00 99
转载 vjudge_XJ_Contest0@8/4/2018
vjudge_XJ_Contest0A.SpheresCodeChef - KSPHERESChineseEugene has a sequence of upper hemispheres and another of lower hemispheres. The first set consists of N upper hemispheres indexed 1 to N ...
2018-11-06 15:34:00 336
转载 CodeForces 734 E.Anton and Tree
E. Anton and Treetime limit per test 3 secondsmemory limit per test 256 megabytesAnton is growing a tree in his garden. In case you forgot, the tree is a connected acyclic undirected graph.Th...
2018-11-06 15:22:00 129
转载 Lightoj 1316 A Wedding Party
A Wedding PartyWe 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 gathered at a place and we were just about to ...
2018-11-06 15:14:00 90
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人