Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Treap写垃圾了,TLE了无数次,只好交线段树了……

Posted by Ever_ljq at 2011-05-26 21:15:04 on Problem 2985
线段树真不愧是高度平衡二叉树,速度比我写的Treap强多了。还好这次数组没开小。

const int maxn = 250005;
const int maxnode = 800005;

…………

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator