题目大意
题目原文:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=996
输入两个数,输出两个数的差。。。好水的题。
附上代码:
1 #include<stdio.h> 2 int main() 3 { 4 long a,b; 5 while(scanf("%ld%ld",&a,&b)!=EOF) 6 printf("%ld\n",a>b?a-b:b-a); 7 return 0; 8 }