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

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

A+B (I)

2019-11-10 16:58:01
字體:
來源:轉載
供稿:網友

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;}


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 丰宁| 定州市| 南平市| 西乌珠穆沁旗| 轮台县| 日土县| 南木林县| 深水埗区| 兰溪市| 河间市| 枣阳市| 晋城| 孟津县| 辽阳市| 阿城市| 四子王旗| 宝山区| 中山市| 进贤县| 彩票| 南华县| 武定县| 通州区| 衡阳市| 邓州市| 克拉玛依市| 浙江省| 米林县| 离岛区| 古交市| 洪江市| 临猗县| 会昌县| 团风县| 获嘉县| 开鲁县| 濮阳市| 什邡市| 定州市| 遵化市| 霍州市|