문제 링크
상자의 가로, 세로, 높이가 주어지면 이 상자가 크기의 상자안에 들어갈 수 있는지 판별하시오
간단한 조건문 문제
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define INF 1000000000
int t;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> t;
for (int tc = 1; tc <= t; tc++){
int l, w, h;
cin >> l >> w >> h;
cout << "Case " << tc << ": ";
if (l <= 20 && w <= 20 && h <= 20)
cout << "good" << '\n';
else cout << "bad" << '\n';
}
}