ProbToreal
অভিকের টিউটোরিয়াল, টিপস এ্যান্ড ট্রিকস ব্লগ
Search Here
Go
Navigation
All Posts
বাংলা টিউটোরিয়াল
About Me
Tuesday, May 5, 2015
UVa - 10055 ( Hashmat The Brave Warrior Solution)
Tip
:
Try Yourself First . For Help Scroll Down
.
Code:
#include<stdio.h>
int main()
{
long long int hs, op, dif,a,b;
while(scanf("%lld %lld",&a,&b)!=EOF)
{
if(a>b)
{
op=a;
hs=b;
}
else
{
op=b;
hs=a;
}
dif=op-hs;
printf("%lld\n",dif);
}
return 0;
}
=> Questions ?? Leave A Comment . I'll Try My Best To Reply
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment