알고리즘/BaekJoon
[c++] 2558 : A+B-2
__jhp_+
2022. 3. 9. 22:18
https://www.acmicpc.net/problem/2558
2558번: A+B - 2
첫째 줄에 A, 둘째 줄에 B가 주어진다. (0 < A, B < 10)
www.acmicpc.net
#include <iostream>
using namespace std;
int problem_2558()
{
ios::sync_with_stdio(false);
cin.tie(NULL);
int A;
int B;
cin >> A;
cin >> B;
cout << A + B << '\n';
return 0;
}