[문제 링크] : 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;
}
'알고리즘' 카테고리의 다른 글
[알고리즘] 백준 11024 - 더하기 4 (C++) (0) | 2025.02.10 |
---|---|
[알고리즘] 백준 25494 - 단순한 문제 (Small) (C++) (0) | 2025.02.09 |
[알고리즘] 백준 7572 - 간지(干支) (C++) (0) | 2025.02.07 |
[알고리즘] 백준 15681 - 트리와 쿼리 (C++) (0) | 2025.02.06 |
[알고리즘] 백준 10474 - 분수좋아해? (C++) (0) | 2025.02.05 |