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

Re:1183算法请教

Posted by lxp_rs at 2006-07-28 16:51:55 on Problem 1183
In Reply To:Re:1183算法请教 Posted by:hushuoqiu at 2005-09-19 00:08:17
因为最后算出来b+c=(a^2+1)/i +2*a+i是个关于i的减函数,所以从sqrt(a^2+1)开始枚举约数i,第一个值就是最小值...

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