国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

A+B (I)

2019-11-09 21:08:39
字體:
來源:轉載
供稿:網友

Your task is to Calculate a + b.InputInput contains multiple test cases. Each test case consists of a pair of integers a and b(0<=a,b<=20), separated by a space, one pair of integers per line.OutputFor 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 Input1

1Sample Output

2

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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 华坪县| 南开区| 阜宁县| 宜宾市| 凤庆县| 宕昌县| 新竹市| 尉氏县| 霍州市| 汝南县| 固阳县| 康保县| 兴业县| 和平县| 平顺县| 射阳县| 肃宁县| 沙雅县| 海南省| 错那县| 张家港市| 体育| 扬州市| 商都县| 海丰县| 蓝田县| 崇信县| 右玉县| 星座| 克什克腾旗| 宁明县| 平顶山市| 沂源县| 无棣县| 万安县| 苏尼特左旗| 台江县| 长丰县| 璧山县| 伊吾县| 保定市|