File size: 223 Bytes
c4b0eef
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <bits/stdc++.h>

using namespace std;

int main(){
    long long n1, n2;
    while(true){
        cin >> n1 >> n2;
        if(cin.fail()) break;
        cout << abs(n1-n2) << endl;
    }
    return 0;
}