ulvis.paste.net

Paste Search Dynamic
Recent pastes
split
  1. t = input()
  2. for i in range(0,t):
  3.         a,b = [int(x) for x in raw_input().split()]
  4.         r = a%b
  5.         print "%d" % r
Parsed in 0.002 seconds