[문제 링크] : https://www.acmicpc.net/problem/25494
#include <iostream>
using namespace std;
int main(){
int T, a, b, c;
cin >> T;
while(T--){
cin >> a >> b >> c;
cout << min(a, min(b, c)) << "\n";
}
return 0;
}
'알고리즘' 카테고리의 다른 글
[알고리즘] 백준 27331 - 2 桁の整数 (Two-digit Integer) (C++) (0) | 2025.02.11 |
---|---|
[알고리즘] 백준 11024 - 더하기 4 (C++) (0) | 2025.02.10 |
[알고리즘] 백준 30087 - 진흥원 세미나 (C++) (0) | 2025.02.08 |
[알고리즘] 백준 7572 - 간지(干支) (C++) (0) | 2025.02.07 |
[알고리즘] 백준 15681 - 트리와 쿼리 (C++) (0) | 2025.02.06 |