HUST Online Judge WebBoard
2274번 문제 >> 테스트 케이스가 틀린것 같습니다.
이광민 @ 2026-06-06 13:07:44
[ 삭제 ] #1
#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;
}

해당 코드를 집어넣었는데 마지막 케이스가 틀렸다고 나오네요
왜케 이 사이트는 테스트케이스가 다 틀린것밖에 없지