알고리즘

[알고리즘] 백준 30087 - 진흥원 세미나 (C++)

blueberrysoda 2025. 2. 8. 23:57

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

#include <iostream>
using namespace std;

int main(){
    int N;
    string S;
    cin >> N;

    while(N--){
        cin >> S;

        if(S == "Algorithm"){
            cout << "204\n";
        }
        else if(S == "DataAnalysis"){
            cout << "207\n";
        }
        else if(S == "ArtificialIntelligence"){
            cout << "302\n";
        }
        else if(S == "CyberSecurity"){
            cout << "B101\n";
        }
        else if(S == "Network"){
            cout << "303\n";
        }
        else if(S == "Startup"){
            cout << "501\n";
        }
        else if(S == "TestStrategy"){
            cout << "105\n";
        }
    }
    return 0;
}