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

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

A+B (I)

2019-11-10 16:50: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;}


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 罗田县| 延川县| 台前县| 万山特区| 安西县| 长岛县| 额济纳旗| 抚远县| 辛集市| 宝清县| 兴文县| 衡阳市| 绥化市| 包头市| 孟州市| 神木县| 梅河口市| 开化县| 玉山县| 洛宁县| 射阳县| 长治县| 鹿泉市| 乌拉特后旗| 乌苏市| 东平县| 日喀则市| 临颍县| 安溪县| 兴义市| 如东县| 开远市| 家居| 武安市| 连云港市| 许昌市| 金堂县| 郯城县| 成安县| 枣强县| 肥西县|