UVa 10055 - Hashmat the Brave Warrior
来源:互联网 发布:解压缩软件手机版 编辑:程序博客网 时间:2024/05/21 12:51
题目:输出差值的绝对值。
分析:简单题。
注意:数据类型要用long long、不要使用abs()。
#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){long long a,b; while ( scanf("%lld%lld",&a,&b) != EOF )if ( a > b )printf("%d\n",a-b);else printf("%d\n",b-a); return 0;}
- UVa OJ 10055-Hashmat the Brave Warrior
- UVa:10055 - Hashmat the Brave Warrior
- UVa 10055 Hashmat the brave warrior
- uva 10055 Hashmat the Brave Warrior
- UVA 10055 - Hashmat the Brave Warrior
- uva-10055 - Hashmat the Brave Warrior
- uva 10055 Hashmat the Brave Warrior
- UVa OJ 10055 - Hashmat the Brave Warrior
- UVa 10055 - Hashmat the Brave Warrior
- UVA 10055 Hashmat the brave warrior
- uva 10055 Hashmat the brave warrior
- UVa 10055 Hashmat the brave warrior
- UVA 10055 Hashmat the brave warrior
- UVA - 10055 - Hashmat the Brave Warrior
- uva 10055 - Hashmat the Brave Warrior
- UVA OJ: 10055 - Hashmat the Brave Warrior
- UVa 10055 - Hashmat the Brave Warrior
- UVA 10055 Hashmat the Brave Warrior
- LinuxC/C++编程基础(3) 基于管道的进程间通信机制
- spring3.0+cxf webservice开发
- eclipse装cdt编译c++程序控制台看不到结果的解决方法
- 关于腾讯面试的一道题目
- VC++2012编程演练数据结构《31》狄杰斯特拉算法
- UVa 10055 - Hashmat the Brave Warrior
- Bone Collector(01背包问题入门)
- 未装驱动,收不到WM_DEVICECHANGE怎么办?
- perl s///中使用变量
- Apache+Tomcat集群配置
- HOJ 2111 Electrical Outlets
- JDK 7 中的 Fork/Join 模式
- MC55开发之GPRS远程登陆程序的具体设计(独家整理!保证是你见过的MC55开发最全的笔记~~)
- How to get url not reached error in Anodroid Phonegap