Problem Description
Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO".
Input
each test case contains two numbers A and B.
Output
for each case, if A is equal to B, you should print "YES", or print "NO".
Sample Input
1 2
2 2
3 3
4 3
Sample Output
NO
YES
YES
NO
1 #include<iostream> 2 #include <cstring> 3 #include <stdio.h> 4 using namespace std; 5 const int MAX = 100000; 6 void zero(char *str)//去后前面的零,保留小数点,没小数点的给他加一个 7 { 8 int i,len; 9 len = strlen(str); 10 char *p = strchr(str,'.'); 11 if(p == NULL) 12 { 13 str[len] = '.'; 14 str[len+1] = '