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,谁能帮我看一下

Posted by c060200548075 at 2006-09-24 18:20:53 on Problem 1065
In Reply To:一直是WA,谁能帮我看一下 Posted by:xuezhimeng at 2006-08-07 11:10:14
你的compare函数好像有问题,如果长度相等你应该再根据重量来排序才对。试一下吧

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