-
10953번백준알고리즘/입출력 2020. 10. 1. 22:02
#include<iostream> #include<vector> using namespace std; int main(void) { int A = 0; int B = 0; int T = 0; char C = {}; cin >> T; for(int i=0;i<T;i++) { cin >> A >> C >> B; cout << A + B << endl; } }
#include<iostream>
#include<vector>
using namespace std;
int main(void)
{
int A = 0;
int B = 0;
int T = 0;
char C = {};
cin >> T;
for(int i=0;i<T;i++)
{
cin >> A >> C >> B;
cout << A + B << endl;
}
}