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 (EZ Version) azoz1111111
Python 3
590 ms
4.6 MB
Accepted