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

用c++写merge_sort超时的朋友注意了!

Posted by sxow1234 at 2010-11-25 15:32:34 on Problem 2299
归并时的临时数组最好定义为static int Temp[]
而且输入的时候用scanf而不是cin,事实证明用cin的时间会多出1000MS。。。

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