Sum it Codechef solutions Today | Codechef Starters 72 ✅ (100/100) FULL | AC Code ✅| SUMM
IF ANYONE DONE THIS AND IS YOU WANT TO HELP SO JUST WRITE DOWN CODE IN COMMENTS
Problem
Bob received an assignment from his school: he has two numbers and , and he has to find the sum of these two numbers.
Alice, being a good friend of Bob, told him that the answer to this question is .
Bob doesn't completely trust Alice and asked you to tell him if the answer given by Alice is correct or not.
If the answer is correct print "YES", otherwise print "NO" (without quotes).
Input Format
- The first line of input will contain a single integer , denoting the number of test cases.
- The first and only line of each test case consists of three space-separated integers and .
Output Format
For each test case, output on a new line the answer: YES if Alice gave the right answer, and NO otherwise.
Each character of the output may be printed in either uppercase or lowercase, i.e, the outputs Yes, YES, yEs and yes will be treated as equivalent.
Constraints
Sample 1:
3 1 2 3 4 5 9 2 3 6
YES YES NO
Explanation:
Test case : , so Alice's answer is correct.
Test case : , so Alice's answer is correct.
Test case : which doesn't equal , so Alice's answer is incorrect.