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:我用结构体,然后排序,怎么不行呢In Reply To:Re:我用结构体,然后排序,怎么不行呢 Posted by:zsc08_wangqiang at 2010-02-16 16:08:56 > > 可能是这里吧,,改为: > int comp(const void *a,const void *b){ return (*(DNA*)a).num - (*(DNA*)b).num; } > Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator