단순한 덧셈 문제입니다.
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a, b;
cin >> a;
cin >> b;
cout << a+b << endl;
return 0;
}
'알고리즘' 카테고리의 다른 글
[C++] 백준 2742번 기찍 N (0) | 2019.03.05 |
---|---|
[C++] 백준 2741번 N 찍기 (0) | 2019.03.05 |
[C++] 백준 10430번 나머지 (0) | 2019.03.05 |
[C++] 백준 10869번 사칙연산 (0) | 2019.03.05 |
[C++] 백준 1008번 A/B (0) | 2019.03.05 |