Wednesday, July 2, 2014

UVa - 10055 - Hashmat the Brave Warrior

#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int main(){
    long long x, y, ans;
    while(cin >> x >> y){
       ans = abs(x - y);
        cout << ans << endl;
    }
    return 0;
}

No comments:

Post a Comment