摘要:
View Code 1 #include<stdio.h> 2 #include<math.h> 3 4 int main() 5 { 6 int a,b; 7 double con=(1+sqrt(5.0))/2; 8 while(scanf("%d%d",&a,&b)!=EOF) 9 {10 if(a>b)11 {12 a^=b;13 b^=a;14 a^=b;15 }16 int k=b-a;17 if(a==(int)(con*k))printf("0\n");18 ... 阅读全文
posted @ 2012-04-11 20:05
知行执行
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号