标签:style blog io color os sp 数据 div on
3
-11.1 +11.1 0
11 -11.25 -0.25
1 2 +4
Yes
Yes
No
1 #include <stdio.h> 2 #include <math.h> 3 4 int main(){ 5 int T; 6 double a; 7 double b; 8 double c; 9 10 scanf("%d",&T); 11 12 while(T--){ 13 scanf("%lf%lf%lf",&a,&b,&c); 14 15 if(fabs(a+b-c)<1e-4) 16 printf("Yes\n"); 17 18 else 19 printf("No\n"); 20 } 21 22 return 0; 23 }
标签:style blog io color os sp 数据 div on
原文地址:http://www.cnblogs.com/zqxLonely/p/4098598.html