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

原来可以这样做

Posted by lulijiang at 2009-05-16 21:03:26 on Problem 1067
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:
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