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:根据题意,此组数据的输出是?

Posted by 07061426 at 2009-05-16 15:47:12 on Problem 3687
In Reply To:Re:根据题意,此组数据的输出是? Posted by:forsona at 2009-04-06 17:56:38
> 4 1 2 3?
显然应该是2 3 4 1
“you should output the one with the smallest weight for label 1, then with the smallest weight for label 2, then with the smallest weight for label 3 and so on”
而这数据只给出了4号球比1号球轻。
所以1号球最小重量应该为2,然后2号球最小重量为3,3号球为4,4号球为1.

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