Right Answer is here!!!(我又来了)

wurenchao 2023-10-04 15:07:08 2023-10-04 15:07:32 4 返回题目

#include<bits/stdc++.h>

using namespace std;

map<string,int>dict;

int main(){

int n,page;
string word;
cin>>n;
while(n--) cin>>word>>page,dict[word]=page;
cin>>n;
while(n--) cin>>word,cout<<dict[word]<<endl;
return 0;

}

{{ vote && vote.total.up }}