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

终于AC了

Posted by hand515 at 2008-06-12 23:43:57 on Problem 3260 and last updated at 2008-06-12 23:45:09
原来没有考虑C[i]为0的情况
例如:
2 2920
22 91
0 100

面值为22的硬币虽然不能付款,但它能用来找零

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