poj 1000 A+B Problem

Description

Calculate a+b
Input

Two integer a,b (0<=a,b<=10)
Output

Output a+b
Sample Input

1 2
Sample Output

3
Source:

#include <iostream>

using namespace std;

int main()
{
    int a,b;
    cin >> a >> b;
    cout << a+b << endl;
    return 0;
}

总结
耗时十分钟


版权声明:本文为qq_43734686原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。