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

换用笛卡尔树过了。。>_<。。用笛卡尔树写RE的看过来

Posted by woshilalala at 2013-03-26 20:10:41 on Problem 3415 and last updated at 2013-03-26 20:15:45
In Reply To:单调栈维护起来怎么那么难。。T__T Posted by:woshilalala at 2013-03-25 20:38:15
> 维护不动啊。。感觉细节太多了。。果然还是自己太弱了吗。。

哎。。换成笛卡尔树的写法然后过了!!。。写了好久T__T。。妈蛋这个也好多细节。。

如果你也是笛卡尔树的写法,而且屡屡RE,恭喜你爆栈了。

#pragma comment(linker, "/STACK:36777216")

头文件加这个然后用C++提交就能过了~

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