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

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

A+B (I)

2019-11-09 20:34:59
字體:
來源:轉載
供稿:網友

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


上一篇:poj1922

下一篇:PAT 1009 說反話

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 吴堡县| 义乌市| 桐柏县| 泾源县| 丹阳市| 吴堡县| 灵石县| 新化县| 乌海市| 潞西市| 新和县| 阜新| 廊坊市| 乌鲁木齐市| 博白县| 桐梓县| 庆安县| 甘德县| 封丘县| 乌海市| 青阳县| 勐海县| 中宁县| 威宁| 石景山区| 长治县| 齐河县| 平江县| 沅江市| 宝山区| 曲麻莱县| 惠东县| 泰州市| 双柏县| 浮山县| 寻乌县| 稻城县| 龙井市| 荣昌县| 紫阳县| 湖北省|