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

这个题目有漏洞啊。。

Posted by huacm46 at 2006-08-07 13:04:09 on Problem 2928
计算最小值c*min的时候,min直接取M行数据的和与N行数据的和中较小的那个就可以过了。
然而,这样的计算方法,当输入: 5 10 10 20        
                               2 4 4 8 10
                               1 2 3 4 5 6 7 8 9 10
的时候,输出仍旧为Minimum: 550      正确的结果应该是590

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