-
10952번백준알고리즘/입출력 2020. 10. 1. 21:52
#include<iostream> #include<vector> using namespace std; int main(void) { int A = 0; int B = 0; while (cin >> A >> B) { if (A == 0 && B == 0) { break; } cout << A + B << endl; } }
#include<iostream>
#include<vector>
using namespace std;
int main(void)
{
int A = 0;
int B = 0;
while (cin >> A >> B)
{
if (A == 0 && B == 0)
{
break;
}
cout << A + B << endl;
}
}