Thursday, November 10, 2016

Uva 10055 - Hashmat the Brave Warrior

#include<iostream>
using namespace std;
int main()
{
unsigned long x,y;
while(cin >> x >> y){
if(y>x) cout << y-x << endl;
else cout << x-y << endl;
}
return 0;
}

No comments: