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

Runtime Error 的同学注意下数组大小

Posted by AC_seeker at 2016-09-16 13:41:52 on Problem 1986
题目虽然说K不超过10000,但是存储每组查询的公共祖先的数组以及类似的数组的大小定义为10010就太小了,会Runtime Error。大小变成40010没问题了。

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