Spadework 2020. 2. 10. 18:28

* Solved 기준 브론즈3 단순 풀이

for _ in range(int(input())):
	n,c = map(int, input().split())
	print(n//c+(1 if n%c else 0))