[ZJa012][UVA10055] Hashmat the Brave Warrior

題目:
http://zerojudge.tw/ShowProblem?problemid=a012
======================================================


#include<stdio.h>
int main()
{
long long int a,b,z;
while(scanf("%lld%lld",&a,&b)!=EOF)
{
z=b-a;
if(z<0)
z=-z;
printf("%lld\n",z);
}
return 0;
}

留言

這個網誌中的熱門文章

[CF]600B - Queries about less or equal elements

[ZJa111][UVA12149] Feynman

[ZJ]a244: 新手訓練 ~ for + if