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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 新营市| 武山县| 南雄市| 嘉峪关市| 曲水县| 沁阳市| 甘南县| 克拉玛依市| 吉水县| 内江市| 马鞍山市| 嘉义县| 和林格尔县| 邵阳县| 嘉黎县| 宝丰县| 商城县| 闵行区| 高雄市| 兴宁市| 微山县| 光泽县| 牡丹江市| 逊克县| 茌平县| 甘德县| 休宁县| 改则县| 且末县| 东城区| 奉贤区| 左权县| 平原县| 沛县| 福建省| 永顺县| 沧源| 长寿区| 沙湾县| 新巴尔虎左旗| 个旧市|