fork download
  1. tc = int(raw_input())
  2. while tc > 0:
  3. tc = tc - 1
  4. a, b = map(int, raw_input().split())
  5. print abs(a-b)
Success #stdin #stdout 0.01s 8976KB
stdin
2
2 9
11 13
stdout
7
2