Thursday, January 28, 2016

UVA 10055 | | Hashmat the Brave Warrior

#include<bits/stdc++.h>
using namespace std;
int main()
{
   long long h , v;
   while(cin>>h>>v){
    if(h<v)
        swap(h,v);
    cout<<h-v<<endl;
   }
}

No comments:

Post a Comment