国产探花免费观看_亚洲丰满少妇自慰呻吟_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;}


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 崇明县| 维西| 通化县| 张家界市| 秦皇岛市| 梁平县| 科技| 神农架林区| 洪江市| 凤凰县| 花垣县| 万山特区| 葫芦岛市| 平南县| 岳池县| 东兰县| 南平市| 花莲县| 平乐县| 东乡县| 晋中市| 石门县| 峨山| 寿阳县| 西乌珠穆沁旗| 化德县| 内乡县| 安西县| 方正县| 梁平县| 梁山县| 西充县| 介休市| 太保市| 和平县| 敖汉旗| 邓州市| 达尔| 都匀市| 天柱县| 弥勒县|