Hide

Problem D
A Different Problem

Write a program that computes the difference between non-negative integers.

Input

Each line of the input consists of a pair of integers. Each integer is between $0$ and $10^{15}$ (inclusive). The input is terminated by end of file.

Output

For each pair of integers in the input, output one line, containing the absolute value of their difference.

Sample Input 1 Sample Output 1
10 12
71293781758123 72784
1 12345677654321
2
71293781685339
12345677654320
CPU Time limit 1 second
Memory limit 1024 MB
Statistics Show
Source Kattis
License Creative Commons License (cc by-sa)

Please log in to submit a solution to this problem

Log in