#include <iostream>
#include <map>
#include <vector>
using namespace std;
int main()
{
map<string,vector<string>> mm;
int n; cin >> n;
for(string a,b; n--;)
{
cin >> a >> b;
mm[a].push_back(b);
}
string c; cin >> c;
if(mm.find(c) == mm.end()) cout << "error";
else for(auto s : mm[c]) cout << s << endl;
}
해당 코드를 집어넣었는데 마지막 케이스가 틀렸다고 나오네요
왜케 이 사이트는 테스트케이스가 다 틀린것밖에 없지