Source Code
it=int(input())
for i in range(it):
    x,y=map(int,input().split())
    if x%y==0:
        print(x)
    else:
        print((x+y)-(x%y))
Copy
AZOZ with an O (Needs a Carry) azoz1111111
Python 3
2084 ms
5.1 MB
Time Limit Exceeded