Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register
欢迎参加IJCAI 2020麻将智能体竞赛,大奖等你拿!Welcome to IJCAI 2020 Mahjong AI competition with amazing prizes! | 北京大学《ACM/ICPC大学生程序设计竞赛训练》暑期课面向全球招生!

Re:数据全过了还是WA的看看

Posted by q847087628 at 2016-01-22 18:11:09 on Problem 1328
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator