๋ฌธ์
์ฝ๋
#include <string>
#include <vector>
using namespace std;
string solution(vector<string> seoul) {
string answer= "";
answer = "๊น์๋ฐฉ์ ";
for(int i=0; i<seoul.size(); i++){
if(seoul[i]=="kim"){
answer+= to_string(i);
break;
}
answer+="์ ์๋ค";
return answer;
}
๋๊ธ