题目地址:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=996
C++代码:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
long long a,b,c;
while(cin>>a>>b)
{
c=a>b?a-b:b-a;
cout<<c<<endl;
}
return 0;
}
最后
以上就是踏实柜子最近收集整理的关于UVa-Hashmat the brave warrior的全部内容,更多相关UVa-Hashmat内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复