반응형
문제 링크
코드
#include <bits/stdc++.h>
using namespace std;
int main(void) {
ios::sync_with_stdio(0);
cin.tie(0);
int t, a, b;
cin >> t;
while (t--) {
cin >> a >> b;
cout << a + b << '\n';
}
}
설명
입출력 시간을 줄이는 법을 알려주는 문제이다.
(주의) 기록용으로 작성한 글입니다. 좋은 코드가 아닐 수 있습니다.
댓글 환영합니다!
반응형
'Algorithm > BOJ' 카테고리의 다른 글
[백준/BOJ] 16435번 - 스네이크버드 (C++) (0) | 2022.03.26 |
---|---|
[백준/BOJ] 15947번 - 아기 석환 뚜루루 뚜루 (C++) (0) | 2022.03.25 |
[백준/BOJ] 14487번 - 욱제는 효도쟁이야!! (C++) (0) | 2022.03.25 |
[백준/BOJ] 11721번 - 열개씩 끊어 출력하기 (C++) (0) | 2022.03.25 |
[백준/BOJ] 11724번 - 연결 요소의 갯수 (C++) (0) | 2022.03.25 |
댓글