<문제>
<Code>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d\n", a + b);
}
<Comment>
#include <string> 까먹지말자
1000번: A+B
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
'Problem Solving > 백준' 카테고리의 다른 글
[백준-15596] 정수 N개의 합 (0) | 2021.02.05 |
---|---|
[백준-2562] 최댓값 (0) | 2021.02.04 |
[백준-2884] 알람 시계 (0) | 2021.02.03 |
[백준-10430] 나머지 (0) | 2021.02.03 |
[백준-10171] 고양이 출력하기 (0) | 2021.01.28 |