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

要注意的一点:不一定是二叉树。。。

Posted by morgan_xww at 2011-03-12 21:24:42 on Problem 3321
研究了我一个多星期。是在是想放弃了。终于还是一步一步走到了AC。开始好不容易有了思路就开始写出来了。结果一直WA,寻寻觅觅,原来我被题目的图误导了,一直以为是二叉树。现在是多叉树,这就不好处理了。。。。修改成了多叉树,结果又TLE了,郁闷。。。。  然后再学习一下大家讨论的什么“树状数组”。。。才慢慢啊领会了其中的奥秘,终于A了,虽然时间是1000+M,我也不管了,实在是不想去管他了。。过了就过了吧。。。 

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