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都去掉;
(暑假集训个人训练赛5)数字比较D - A==B?(15p)
最新推荐文章于 2018-09-09 14:54:54 发布