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:下次用memset也要注意了。。。一个超时,一个172ms,差距啊

Posted by JustForU at 2011-05-11 19:59:37 on Problem 2769
In Reply To:下次用memset也要注意了。。。一个超时,一个172ms,差距啊 Posted by:abilitytao at 2010-02-04 15:41:18
yes.
 memset(mark,false,ans*sizeof(mark[0]));  200ms
 memset(mark,false,n*sizeof(mark[0]));    tle

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