| ||||||||||
| 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 | |||||||||
哪位帮忙看看,这是什么编译错误啊??#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator