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:数据全过了还是WA的看看In Reply To:给大家个数据,希望有用 Posted by:mickeychen at 2010-04-14 19:53:06 qsort的compare参数返回值是int 如果用return (double) - (double),强制转换的时候就会出问题 正确的方法应该是return (double)>(double)?1:-1; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator