Skip to content

Instantly share code, notes, and snippets.

@avijitagarwal
Created February 20, 2019 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avijitagarwal/73422d038ca0e2705d015c9e197d59ea to your computer and use it in GitHub Desktop.
Save avijitagarwal/73422d038ca0e2705d015c9e197d59ea to your computer and use it in GitHub Desktop.
for _ in range(int(input())):
x, y = map(int, input().split())
ans = 0 if x <= y else x - y
print(ans)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment