Make it zero Solution Codechef
SOLUTION
” CLICK HERE “
You are Given two numbers A and B you have to make both the numbers equal to zero in Only two operations.
Print "YES" without quotes if it is possible to make both the Numbers zero in two operations else print "NO".
You have to perform one operation on each number.if the number requires more than one operation to become zero the print "NO".
Input:
- First line will contain , number of testcases. Then the testcases follow.
- Each testcase contains of a single line of input, two integers .
Output:
For each testcase, output in a single line answer "YES" OR "NO".
Constraints
Sample Input:
1
2 2
Sample Output:
YES

Social Plugin