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 |
Re:弱弱的问一句:N!求逆序给show me 学习下不....In Reply To:Re:弱弱的问一句:N!求逆序给show me 学习下不.... Posted by:ABD at 2008-11-28 10:31:37 双重循环就行了啊。 for(i = 0;i < len;i++) for(j = i+1;j < len;j++) if(dna[i] > dna[j]) ++sum; return sum; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator