Not A + B
Time limit1sMemory limit256 MB
Given a and b, output any integer c different from a+b, with c restricted to the range 1 to 50.
- Level
Easy1 of 10
- Topics
- Implementation, Math, Brute force
- Solved
- No attempts yet
Problem
You are given two integers and . Print an integer that is not equal to .
Input
The first line contains an integer , the number of tests. Each of the next lines contains two integers and .
Output
For each test, print an integer on its own line. If there are multiple answers, you may print any of them.