
组队赛第一场
SCUT_Pein
这个作者很懒,什么都没留下…
展开
-
Game
Description Bob always plays game with Alice. Today, they are playing a game on a tree. Alice has m1 stones, Bob has m2 stones. At the beginning of the game, all the stones are placed on the nodes原创 2013-03-11 15:58:57 · 844 阅读 · 0 评论 -
Matrix--集合--点二维排序
Description To ecient calculate the multiplication of a sparse matrix is very useful in industrial led. Let's consider this problem: A is an N*N matrix which only contains 0 or 1. And we want t原创 2013-03-12 15:50:32 · 1066 阅读 · 0 评论 -
Sum up--RMQ--线段树
Description Given an array a[] with N elements,you areasked to perform several operations,each of them is one of the two kinds: 1. a[i]=j; 2. calculate sum(a[x]) wherei Input原创 2013-03-12 15:56:44 · 676 阅读 · 0 评论