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

用找最小数,来模拟运行的程序,有一点需要注意,有可能最后得到的数,不是最小的值,需要判断使其小于21252

Posted by Iambitious at 2005-11-29 18:27:22 on Problem 1006
因为虽然最后肯定会找到一点满足条件
但由于每次选择最小的再增加他的值有可能会错过一些满足条件的点。

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