
组队赛第二场
SCUT_Pein
这个作者很懒,什么都没留下…
展开
-
Segment
Description They are N segments in x-axis, each segment has a start point X, a end point Y, so it can express as [X, Y]. Now you should select two segments, they have the longest overlap lengt原创 2013-03-11 15:39:32 · 940 阅读 · 0 评论 -
F[x]
Description We define function F like this: if(x==1) F[x]=1; else if(x%2==1) F[x]=2*F[x/2]+1; else F[x]=2*F[x/2]-1. Of course it is easy for us to w原创 2013-03-11 15:41:38 · 848 阅读 · 0 评论