[C++] 프로그래머스 오픈채팅방 2019카카오블라인드
·
Algorithm/Programmers
#include #include #include #include using namespace std; vector solution(vector record) { vector answer; vector result(record.size()); map names; for(int i = 0; i > token) str[index++] = token; if(str[0] == "Enter") { names[str[1]] = str[2]; //코드의 이름을 변경 result[i].first = str[1]; //코드를 넣는다. ..