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

另外此题数据貌似与描述不符,会导致个别童鞋WA

Posted by EVILsupermp5 at 2013-12-02 16:06:32 on Problem 1276
In Reply To:O(10*100000)的方法是不是巨弱啊 Posted by:EVILsupermp5 at 2013-12-02 15:33:24
我之前的程序稍加了个当前最大背包量的维护,结果WA了想不通

后来通过二分数据制造TLE发现了原因,题目描述中最大面额为1000,但实际输入数据中最大面额达到了11000~12000,导致我维护边界出错

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