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:按这个思路 0 5 0 0 4 0 过不了,证明里面哪有问题?

Posted by bbbbbbbbba at 2010-06-28 20:41:27 on Problem 1014
In Reply To:Re:按这个思路 0 5 0 0 4 0 过不了,证明里面哪有问题? Posted by:Mandolin23 at 2010-04-07 16:21:41
证明里是有一个小bug。
2的个数大于等于5时必然可换是没错的,但你给的数据的解是2+2+2+2+2+5,5+5+5,显然把5个2和2个5交换后仍没有达到两边都有2,从而消去两个2的效果。所以虽然5个2就能保证能换,但是为了继续进行证明还要6个2,所以奇数个2只能减到5而不是3。

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