Source Code
t = int(input())
for i in range (t):
	x,y = map(int,input().split())
	value = x+y - (x % y)
	print(value)
Copy
AZOZ with an O (EZ Version) acaard
Python 3
623 ms
3.9 MB
Wrong Answer