Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Time Limit:1 second(s)
- Memory Limit:32 MB
- Problem
- In this problem you have add two numbers and subs track two number , if the results are positive integers then you have to print “YES” otherwise “NO” .
- Input
- Input file starts with the test case T (1 >= T <= 100) . Each T lines follows two integers A , B (1 >= A,B <= 105)
- Output
- For every test case if the results are positive integers then print “YES” otherwise “NO” .
- Sample Input Output
- Input
- 2
- 2 3
- 6 4
- Output
- NO
- YES
Advertisement
Add Comment
Please, Sign In to add comment