HDU1000 A + B Problem
来源:互联网 发布:肖恩巴蒂尔数据 编辑:程序博客网 时间:2024/06/11 04:25
Problem Description
Calculate A + B.Input
Each line will contain two integers A and B. Process to end of file.Output
For each case, output A + B in one line.Sample Input
1 1Sample Output
2Author
HDOJ代码
#include<stdio.h>int main(){ int long long a=0,b=0; while(~scanf("%d %d",&a,&b)) printf("%d\n",a+b); return 0;}
用 while(scanf(“%d%d”,&a,&b)!=EOF) 也可以……
0 0
- hdu1000 A + B Problem
- hdu1000 a+b problem
- HDU1000 A + B Problem
- hdu1000 - A + B Problem
- HDU1000 A + B Problem
- HDU1000 A + B Problem
- HDU1000——A + B Problem
- hdu1000 A + B Problem(C语言)
- 【BZOJ1000】【POJ1000】【HDU1000】【Vijos P1000】A+B Problem
- acm从基本开始--熟悉输入输出HDU1000 A+B
- problem 1000: A+B problem
- Problem 1000 A+B Problem
- Problem - 1000 A + B Problem
- A + B Problem
- A + B Problem
- 1000 A+B Problem
- 1001 A + B Problem
- A+B Problem
- hadoop伪分布式搭建
- PHP函数(二)
- 算法导论学习笔记(三) 初稿
- Codeforces 761D-Dasha and Very Difficult Problem
- CDH安装笔记
- HDU1000 A + B Problem
- HDU1001 Sum Problem
- ThinkPHP 学习笔记 8.数据库的查询方式
- 485. Max Consecutive Ones [LeetCode]
- Oracle学习笔记(二)
- POJ2785:4 Values whose Sum is 0(二分+暴力)
- HDU1002 A + B Problem II
- Gradle实战系列(二)__自动替换的配置文件
- HDU1089 A+B for Input-Output Practice (I)