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 |
原来可以这样做a=(1+sqrt(5.0))/2; b=(3+sqrt(5.0))/2; 如果n==m,就赢。 如果(要n小于m)(m-n)*a!=n,就赢。 其他情况都是输的。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator