Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:我的推导过程In Reply To:我的推导过程 Posted by:xuguangshengqq at 2007-07-19 22:05:39 牛哥,为什么我用不等式推导得得不行啊 如 a = (bc-1) / (b+c) 则 (bc-1)=a(b+c); 因为bc<=((b+c)/2)^2; 即 (b+c)^2-4a*(b+c)-4>=0; 最后也得到 m >= 2*sqrt(a^2+1) + 2a 可是这个循环怎么从我的推理方面解释啊 ( 所以可以令 i 从 a 开始循环 i--; 直到 (a^2+1)%i == 0 再求出m即可 ) 貌似我的缺少限制条件了。。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator