Untitled Web Page

とある高専生の割と誰得なウェブページです。

Problem 1000:A+B Problem

問題

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

a+bの値を出力する問題。

解法:愚直

a+bの値を出力した。

#include <iostream>
using namespace std;
int main() {
   int a, b;
   cin >> a >> b;
   cout << a + b << endl;
}