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

Re:WA 请大神帮忙看看怎么一直WA,数据试了很多

Posted by ayin at 2013-04-11 00:18:52 on Problem 3636
In Reply To:WA 请大神帮忙看看怎么一直WA,数据试了很多 Posted by:ayin at 2013-04-08 16:36:13
好吧 cmp函数中换成下面的就行了
return (*a==*b)?(*(b+1)-*(a+1)):(*a-*b);
为什么呢?

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