题目1000:计算a+b
来源:互联网 发布:js 鼠标点击事件 编辑:程序博客网 时间:2024/05/16 01:21
题目描述:
求整数a,b的和。
- 输入:
测试案例有多行,每行为a,b的值。
- 输出:
输出多行,对应a+b的结果。
- 样例输入:
1 24 56 9
- 样例输出:
3915
- 来源:
- 九度Online Judge测试题
#include<iostream>#include<fstream>using namespace std;int main(){ //输入设备修改为文件 //ifstream cin("a.txt"); int a,b; //从输入设备中读取两个整数 while(cin>>a>>b){ cout<<a+b<<endl; } ///fflush(stdin); //getchar(); return 0; }
- 题目1000:计算a+b
- 题目1000:计算a+b
- 题目1000-计算a+b
- 题目1000:计算a+b
- 题目1000:计算a+b
- 题目1000:计算a+b
- 题目1000:计算a+b
- 题目1000:计算a+b
- 题目1000:计算a+b
- 【九度】题目1000:计算a+b
- 九度 题目1000:计算a+b
- 九度题目1000:计算a+b
- 【C语言】题目1000:计算a+b
- 9度oj 题目1000:计算a+b【水题】
- 九度OJ题目1000:计算a+b
- 九度OJ 题目1000:计算a+b
- 九度Online Judge:题目1000:计算a+b
- 九度OJ题目1000:计算a+b
- vim配置及插件安装管理(超级详细)
- IPHONE实景导航开发总结
- jQuery实现Select双向列表(保留optgroup分组)
- protected Dialog onCreateDialog (int id)
- const解析
- 题目1000:计算a+b
- 学习笔记之每日杂项
- Ogre Material
- 数据库基础
- 数据库后台进程,学习随笔
- ubuntu下使用SourceInsight查看android源码
- tabhost
- 防止屏蔽,背投广告代码的完善
- java 实现jms的客户端(发送接收消息)