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 song19931218 at 2011-11-18 11:04:53 on Problem 1002
十分的郁闷,先是用字典树来做,结果不停的Runtime Error,字典树的总空间本人开了800w个int,也就是1600w个字节,应该是不会爆空间的呀。。。。。
无奈之下,只好换成经典的排序做法,结果AC了,必须得说的是:排序的那个代码中,读取数据部分的代码是直接粘贴字典树那个代码里的,所以字典树那个代码中的读取数据的代码是肯定没错的。。。。
望高手交流,QQ729866839

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