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:晕了 TRIE树超了,模拟过了

Posted by jxnuxiaoyong at 2010-01-15 17:28:24 on Problem 3630
In Reply To:晕了 TRIE树超了,模拟过了 Posted by:dynamic_study at 2009-08-04 17:24:33
童鞋,不能用 new ,我开始用 malloc 也是超时,后来换成数组,惊奇的发现过了

Trie tt[1000000];
t=&tt[p++];

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