본문 바로가기
Algorithm/BOJ

[백준/BOJ] 15552번 - 빠른 A+B (C++)

by shine-jung 2022. 3. 25.
반응형

문제 링크


코드

#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';
    }
}



설명


입출력 시간을 줄이는 법을 알려주는 문제이다.




(주의) 기록용으로 작성한 글입니다. 좋은 코드가 아닐 수 있습니다.

댓글 환영합니다!


반응형

댓글