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 |
怎么用java的随机函数会wa呢,用C++中的就AC了java中的 Random Ran=new Random(); for(i=1;i<=n;i++)X[i]=Ran.nextInt(); C++中的 for(i=1;i<=n;i++) X[i]=rand(); Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator