Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
我是为了缩小生成时间,n2只是个随机次数,没准两次都随到1呢,不知道我队随机函数理解得对不对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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator