ZOJ Problem Set
来源:互联网 发布:淘宝怎么开通直播间 编辑:程序博客网 时间:2024/05/16 13:54
A + B Problem
Time Limit: 2 Seconds Memory Limit: 65536 KB
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 in one line,and with one line of output for each line in input.
Sample Input
1 5
Sample Output
6
Hint
Use + operator
#include <iostream>using namespace std;int main(){ int a,b; while(cin >> a >> b) cout << a + b << endl; return 0;}
阅读全文
0 0
- ZOJ Problem Set - 2060
- ZOJ Problem Set - 2972
- ZOJ Problem Set - 1037
- ZOJ Problem Set - 1048
- ZOJ Problem Set - 1049
- ZOJ Problem Set - 1051
- ZOJ Problem Set - 1067
- ZOJ Problem Set - 1115
- ZOJ Problem Set - 1151
- ZOJ Problem Set - 1205
- ZOJ Problem Set - 1025
- ZOJ Problem Set - 1029
- ZOJ Problem Set - 1076
- ZOJ Problem Set - 1117
- ZOJ Problem Set - 1041
- ZOJ Problem Set - 1004
- ZOJ Problem Set - 1005
- ZOJ Problem Set - 1016
- Oracle
- HashSet、TreeSet、LinkedHashSet的区别
- 相关滤波器算法 速度做到极致
- C++中lambda表达式(匿名函数)的用法
- 递归方法
- ZOJ Problem Set
- Linux 文件编程
- qt qml和c++交互的一个简单例子
- CCNP
- 236. Lowest Common Ancestor of a Binary Tree
- Android 7.1 GUI系统-窗口管理WindowManagerService(一)
- CSAPP Note chap3
- mybatis gengerator
- laravel数据填充(seeder)及faker和tinker的使用