백준 알고리즘(C/C++) - 10950번 A+B - 3
- 알고리즘
- 2021. 5. 26.
#include <stdio.h>
int main(void) {
int count, a, b;
scanf("%d", &count);
for (; count > 0; count--) {
scanf("%d %d", &a, &b);
printf("%d\n", a + b);
}
return 0;
}
#include <iostream>
int main() {
int count, a, b;
std::cin >> count;
for (; count > 0; count--) {
std::cin >> a >> b;
std::cout << a + b << std::endl;
}
return 0;
}