hihoCoder_A+B

来源:互联网 发布:淘宝兼职客服招聘信息 编辑:程序博客网 时间:2024/05/27 20:28

A+B Problem

描述

求两个整数A+B的和。

输入

输入包含多组数据。每组数据包含两个整数A(1 ≤ A ≤ 100)和B(1 ≤ B ≤ 100)。

输出

对于每组数据输出A+B的和。

样例输入

1 2
3 4
5 6
样例输出

3
7
11

#include <iostream>using namespace std;int main(){    int a,b;    while(cin>>a>>b){        cout<<a+b<<endl;    }    return 0;}
0 0