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:Garcia-Wachs的combine(),这样理解。

Posted by were at 2012-04-08 18:32:40 on Problem 1738
In Reply To:Re:Garcia-Wachs的combine(),这样理解。 Posted by:ipip2005 at 2010-03-16 15:08:18
> 此算法错误
> 5 4 3 5
> 以上方法是(4+3)+(7+5)+(12+5)=36
> 实际为(5+4)+(5+3)+(9+8)=34
楼上明明是你错了
5 4 3 5
第一次 【5 4 3 5】取出 4+3=7
然后得到 7 5 5
第二次 【7 5 5】取出 5+5=10
得到 10 7
最后一次 10+7=17
10 + 17 + 7=34

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