-
10950번백준알고리즘/입출력 2020. 10. 1. 21:36
#include<iostream> #include<vector> using namespace std; int main(void) { int A = 0; int B = 0; int N = 0; cin >> N; vector<int> arr(N); for (int i = 0; i < N; i++) { cin >> A >> B; arr[i] = A + B; } for (int i = 0; i < N; i++) { cout << arr[i] << endl; } }