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 yaer at 2008-08-27 20:16:13 on Problem 1067
#include<iostream>
#include<math.h>
using namespace std;
int main()
{   long j,k,m,n;
    while(cin>>m>>n){
       if(m>n){j=m;m=n;n=j;}
       j=n-m;
       n=(floor)(j*(1.0+sqrt(5))/2.0);
       if(m==n)
          printf("0\n");
       else printf("1\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