

#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int n, a, b;
cin >> n;
while(n--){
cin >> a >> b;
cout << a + b << '\n';
}
}
'공부 일지 > 알고리즘' 카테고리의 다른 글
[배열]BOJ 1475번 - 방 번호 (0) | 2023.12.30 |
---|---|
[배열]BOJ 2577번 - 숫자의 개수 (0) | 2023.12.30 |
[기초 코드 작성 요령 II]BOJ 2557번 - Hello World (0) | 2023.12.30 |
[기초 코드 작성 요령 II]BOJ 1000번 - A+B (0) | 2023.12.30 |
[바킹독 알고리즘]0x09강 - BFS (0) | 2023.12.30 |


#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int n, a, b;
cin >> n;
while(n--){
cin >> a >> b;
cout << a + b << '\n';
}
}
'공부 일지 > 알고리즘' 카테고리의 다른 글
[배열]BOJ 1475번 - 방 번호 (0) | 2023.12.30 |
---|---|
[배열]BOJ 2577번 - 숫자의 개수 (0) | 2023.12.30 |
[기초 코드 작성 요령 II]BOJ 2557번 - Hello World (0) | 2023.12.30 |
[기초 코드 작성 요령 II]BOJ 1000번 - A+B (0) | 2023.12.30 |
[바킹독 알고리즘]0x09강 - BFS (0) | 2023.12.30 |