#C9146. Find the Smallest Multiple
Find the Smallest Multiple
Find the Smallest Multiple
You are given T test cases. In each test case, you are given two positive integers A and B. Your task is to find the smallest integer X such that X \geq A and X is divisible by B.
You can compute X using the formula:
$X = \lceil \frac{A}{B} \rceil \times B$
where \(\lceil \cdot \rceil\) denotes the ceiling function.
This problem tests your ability to work with basic arithmetic operations and conditional statements.
inputFormat
The first line contains a single integer T, representing the number of test cases.
Each of the next T lines contains two space-separated integers, A and B.
outputFormat
For each test case, output the smallest integer that is greater than or equal to A and divisible by B. Each result should be printed on a new line.
## sample5
10 3
5 7
12 6
100 25
7 10
12
7
12
100
10
</p>