알고리즘

[알고리즘] 백준 28235 - 코드마스터 2023 (C++)

blueberrysoda 2024. 11. 2. 23:01

[문제 링크] : https://www.acmicpc.net/problem/28235

#include <iostream>
using namespace std;

int main(){
    string S;
    cin >> S;
    
    if(S == "SONGDO"){
        cout << "HIGHSCHOOL\n";
    }
    else if(S == "CODE"){
        cout << "MASTER\n";
    }
    else if(S == "2023"){
        cout << "0611\n";
    }
    else if(S == "ALGORITHM"){
        cout << "CONTEST\n";
    }
    
    return 0;
}