嘿嘿,碰到了坑爹的题

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
 

测试数据:
0 0.0
0 1
1 0
10 1
10 01
010 001
010 10.0
0.1 .1
00.1 .100
001.100 1.1 
001.100 01.10
0.123456 1.23456
-0.1 -.1
-.1 +.1
-000.100 -.1
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
00000000000000000002222 2222
200 200000
0.00002 0.000020000000000000000000000000000000
00000000000000000000.00002 0.0000200000
0022000 000000000002200
-0022.00200 -000000000000022.002000000000000000000
0.00 0.000000000000000
000000000 0000000000000
000001.00000 1
-0001.000 0001
-0 0

结果:

YES
NO
NO
NO
NO
NO
YES
YES
YES
YES
YES
NO
YES
NO
YES
YES
YES
NO
YES
YES
NO
YES
YES
YES
YES
NO
YES

posted on 2014-01-15 21:01  冰迹风痕  阅读(491)  评论(0)    收藏  举报

导航