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 winsweet at 2008-05-16 19:45:39 on Problem 3273
上界。所有元素的和。
下界。最大的元素。
while (下界<上界){
  中间值=……
  满足条件。更新上界(中间值)
  否则更新下界(中间值加一)
}
输出下界。

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