HDU1095
来源:互联网 发布:淘宝代运营销售好做吗 编辑:程序博客网 时间:2024/05/29 03:24
A+B for Input-Output Practice (VII)
Problem Description
Your task is to Calculate a + b.
Input
The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.
Output
For each pair of input integers a and b you should output the sum of a and b, and followed by a blank line.
Sample Input
1 510 20
Sample Output
630//HDU1095 基础题//A+B for Input-Output Practice (VII) http://acm.hdu.edu.cn/showproblem.php?pid=1095//2017.06.22 by wyj#include#include using namespace std;int main(){int a, b;while (scanf("%d%d", &a, &b) != EOF){printf("%d\n\n", a + b);}return 0;}
阅读全文
0 0
- HDU1095
- HDU1095
- HDU1095
- hdu1095 - A+B for Input-Output Practice (VII)
- HDU1095 A+B for Input-Output Practice (VII)
- HDU1095 A+B for Input-Output Practice (VII)(入门水题,C,Java两个版本)
- 显示服务器配置信息
- Servlet API 中文版
- PullToRefresh与listView联用
- 关于Android引用出错
- 反编译java class并优雅的调试--http://www.blogjava.net/miaoyachun/archive/2013/02/22/395575.html
- HDU1095
- 在linux下安装CLion激活方法
- 顺序表基础操作--练习
- execute、executeQuery和executeUpdate之间的区别
- 第四章 方法和参数
- Spring Boot Security 学习笔记-根据登陆人动态配置权限-密码加密验证
- 【modelsim】vsim 不是内部或外部命令,也不是可运行的程序或批处理文件的解决办法
- AndroidStudio一直build
- Excel默认将表格归纳到同一窗口中如何将标签划分为窗口