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 |
memcpy好慢呀,我用memcpy会超时,改成直接赋值就0ms,太搞了!for(i=0;i<n;i++){ //cin>>a[i]; scanf("%d",&a[i]); sortarr[i]=a[i]; } 开始写的是memcpy(sortarr,a,110);结果就超时了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator