[ C++ ] # 2480 (주사위 세개) //주사위 세개 #include using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(nullptr); int a, b, c; cin >> a >> b>> c; //case 1 if (a == b && b == c) { cout BOJ/[ BOJ ] C++ 2022.01.10
[ C++ ] #2752 ( 세수정렬 ) // 세수정렬 #include using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(nullptr); int a, b, c; cin >> a >> b >> c; if (a < b && a < c) { if (b < c) { cout BOJ/[ BOJ ] C++ 2022.01.10