OJ-Problems-Source/CodeVS/1203_冰封.c

14 lines
252 B
C
Raw Normal View History

2016-07-06 14:28:18 +08:00
/*
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ǧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>Ŀ:p1203 <EFBFBD>жϸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/
#include <stdio.h>
int main(int argc, char* argv[]) {
double a, b;
scanf("%lf%lf", &a, &b);
double s = a > b ? a - b : b - a;
printf("%s", s <= 0.00001 ? "yes" : "no");
return 0;
}