[백준/C++] 11943 - 파일 옮기기

orangesnail·2025년 8월 26일

백준

목록 보기
162/169

https://www.acmicpc.net/problem/11943


#include <iostream>
using namespace std;

int main() {
    int a, b, c, d;
    cin >> a >> b;
    cin >> c >> d;

    cout << min(b + c, a + d) << "\n";
    return 0;
}
profile
초보입니다. 피드백 환영합니다 😗

0개의 댓글