水题的开始
内容:求两数之差
题目有两个陷阱。。。世道险恶
① 原文“Hashmat's soldier number is never greater than his opponent.”,容易误导,其实要求绝对值。
② 2的32次方,用long和unsigned long都不行的,要用long long,64次方。
#include <iostream>
using namespace std;
int main()
{
long long a, b;
while ( cin >>a >>b )
{
cout << (a>b?a-b:b-a) <<endl;
} // end while
return 0;
}