CodeMan
Home
Uva
AtCoder
Codechef
Codeforce
Hackerrank
LeetCode
Devskill
TopCoder
Spoj
Algorithm
Python3
Hackerearth
Uri
C++
Data Structure
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment