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

我是为了缩小生成时间,n2只是个随机次数,没准两次都随到1呢,不知道我队随机函数理解得对不对

Posted by IamI at 2005-08-06 15:52:32 on Problem 2531
In Reply To:n2=(n+1)/2;...for(i=0;i<n2;i++) a[rand()%n]=1;... Posted by:frkstyc at 2005-08-06 15:50:39


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