1000 A+B

来源:互联网 发布:淘宝欢乐逛如何使用 编辑:程序博客网 时间:2024/05/31 05:29

给出2个整数A和B,计算两个数的和。

Input
2个整数A B,中间用空格分割。(0 <= A, B <= 10^9)
Output
输出A + B的计算结果。

Input示例
1 2
Output示例
3

代码:

#include <iostream>using namespace std;int main(){   int a,b;   cin>>a>>b;    cout <<a+b<< endl;    return 0;}
原创粉丝点击