解题报告
题意:
略。
思路:
map应用。
#include <algorithm>
#include <iostream>
#include <cstring>
#include <cmath>
#include <queue>
#include <vector>
#include <cstdio>
#include <map>
using namespace std;
map<string,string>Map;
int main()
{
string str1,str2,str;
int i,j;
while(getline(cin,str))
{
str1.clear();
str2.clear();
if(str[0]=='