Xiaoming is 3 years old, and now he can recognize non-negative integers up to 100, and can add non-negative integers up to 100.
For integers greater than or equal to 100, Xiaoming retains only the last two digits of the number for calculation.If the calculation result is greater than or equal to 100, then Xiaoming also retains only the last two digits of the calculation result.
For example, for Xiao Ming:
Given the non-negative integers A and B, your task is to calculate the value of A + B on behalf of Xiao Ming.
The first line of the input data is a positive integer T, which represents the number of test data groups. Then there are T groups of test data. Each group of test data contains two non-negative integers A and B (A and B are in the range represented by int type) Inside).
For each set of test data, output the result of Xiaoming A + B.
1 | 2 |
1 | 15 |
a and b each mod 100 and the answer a + b mod 100
1 |
|