알고리즘

[알고리즘] 백준 27889 - 특별한 학교 이름 (C++)

blueberrysoda 2024. 10. 16. 23:53

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

#include <iostream>
using namespace std;

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

    if(S == "NLCS"){
        cout << "North London Collegiate School\n";
    }
    else if(S == "BHA"){
        cout << "Branksome Hall Asia\n";
    }
    else if(S == "KIS"){
        cout << "Korea International School\n";
    }
    else if(S == "SJA"){
        cout << "St. Johnsbury Academy\n";
    }
    return 0;
}