POJ 1000 A+B Problem
来源:互联网 发布:淘宝怎么看旺旺号 编辑:程序博客网 时间:2024/05/21 14:53
A+B Problem
Time Limit: 1000M
Description
Calculate a+b
Input
Two integer a,b (0<=a,b<=10)
Output
Output a+b
Sample Input
1 2
Sample Output
3
——————————————————————————————————
——————————————————————————————————
如题输入a,b两数,注意其取值范围;极其简单,也没啥好说的了。代码如下
#includeint main(){int a,b;while(scanf("%d%d",&a,&b)!=EOF && a>=0 && b<=10)// 连续输入。直至输入文件结尾。{printf("%d\n",a+b);//a+b的同时输出。}return 0;}
0 0
- poj 1000 A+B Problem
- POJ 1000 A+B Problem
- [POJ][1000]A+B Problem
- POJ 1000 A+B Problem
- 【POJ】1000 A+B Problem
- POJ 1000:A+B Problem
- POJ 1000: A+B Problem
- poj 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- POJ 1000 A+B Problem
- poj 1000 A+B Problem
- poj 1000:A+B Problem
- mybatis三种传值方式
- 黑马程序员——Java基础--集合框架(1)
- C++标准库介绍
- 数据结构-队列1
- 简单 js 验证
- POJ 1000 A+B Problem
- 085 Maximal Rectangle [Leetcode]
- leetcode 21_Merge Two Sorted Lists & leetcode_258 Add Digits & leetcode_66plus one
- hdu1796 How many integers can you find 容斥原理
- GDOI2016模拟8.16总结
- HBase介绍
- UIViewConroller(控制器)间关系
- 蓝桥杯练习:入门训练 Fibonacci数列
- 超详细!iOS 并发编程之 Operation Queues