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

merge_sort TLE进来看

Posted by litstrong at 2009-08-16 22:20:21 on Problem 2299
把临时的大数组开到了局部里,而且所有的变量都弄成int64的,会TLE.
把类型改成int,就ans用int64,变2s+.
把大数组提到全局,300ms+.

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