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:1183算法请教In Reply To:1183算法请教 Posted by:waterine at 2003-07-22 12:23:27 > 我利用a^2 + 1 = (b-a)(c-a) > for(i= int(sqrt(a^2+1); i>0; i--) > 如果((a^2+1)%i ==0) b=i +a; c=(a^2+1)/b +a; > 但是WA...... > 哪位高人指点一下 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator