#include#include main(){ int T;float a,b,c; scanf("%d",&T); while(T--) { scanf("%f%f%f",&a,&b,&c); printf("%s\n",fabs(a+b-c)<=0.00001?"Yes":"No"); }}
本文共 266 字,大约阅读时间需要 1 分钟。
#include#include main(){ int T;float a,b,c; scanf("%d",&T); while(T--) { scanf("%f%f%f",&a,&b,&c); printf("%s\n",fabs(a+b-c)<=0.00001?"Yes":"No"); }}
转载于:https://www.cnblogs.com/hxsyl/archive/2012/05/27/2520502.html