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:Re:数据全过了还是WA的看看 Posted by:sjdeak at 2015-12-12 10:57:12 > qsort的compare参数返回值是int > 如果用return (double) - (double),强制转换的时候就会出问题 > 正确的方法应该是return (double)>(double)?1:-1; 应该不是这个,并没有刻意去管这个问题直接AC了 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator