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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 土默特右旗| 五寨县| 黄梅县| 静海县| 通州区| 黄冈市| 体育| 始兴县| 平舆县| 广南县| 温泉县| 景谷| 隆尧县| 克拉玛依市| 布拖县| 株洲市| 井冈山市| 罗定市| 沂南县| 盖州市| 六枝特区| 安岳县| 丽水市| 叶城县| 定陶县| 桐乡市| 东源县| 绥江县| 曲周县| 东城区| 大兴区| 师宗县| 神农架林区| 永城市| 七台河市| 东山县| 通海县| 曲水县| 岳阳市| 山东省| 芮城县|