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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 叶城县| 交城县| 巩义市| 中宁县| 道真| 涿州市| 牡丹江市| 青河县| 洪江市| 漾濞| 崇明县| 怀化市| 资溪县| 贡嘎县| 郎溪县| 芦溪县| 义乌市| 永和县| 高安市| 余姚市| 武山县| 九寨沟县| 松潘县| 黎城县| 郑州市| 商水县| 巴青县| 望奎县| 黔西| 名山县| 肥城市| 定安县| 皋兰县| 峨山| 弥勒县| 清徐县| 昆山市| 莱西市| 安陆市| 改则县| 清流县|