#include <iostream>
#include <vector>
using namespace std;
int T;
int A, B;
vector<int> answer;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> T;
for (int i = 0; i < T; i++)
{
cin >> A >> B;
answer.push_back(A + B);
}
for (int i = 0; i < answer.size(); i++)
{
cout << answer[i] << "\n";
}
return 0;
}
수학 관련 쉬운 문제였다.
Baekjoon_Link 👈 Click here