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:lulijiang at 2009-05-16 21:03:26 > 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