(暑假集训个人训练赛5)数字比较D - A==B?(15p)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/BHliuhan/article/details/82191696

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
思路:没给数据范围,用字符串比较,把后面对0都去掉;

猜你喜欢

转载自blog.csdn.net/BHliuhan/article/details/82191696