<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12
      書山有徑勤為路>>>>>>>>

      <<<<<<<<學海無涯苦作舟!

      STL之map——解決POJ 2503

      Description

      You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.

      Input

      Input consists of up to 100,000 dictionary entries, followed by a blank line, followed by a message of up to 100,000 words. Each dictionary entry is a line containing an English word, followed by a space and a foreign language word. No foreign word appears more than once in the dictionary. The message is a sequence of words in the foreign language, one word on each line. Each word in the input is a sequence of at most 10 lowercase letters.

      Output

      Output is the message translated to English, one word per line. Foreign words not in the dictionary should be translated as "eh".

      Sample Input

      dog ogday
      cat atcay
      pig igpay
      froot ootfray
      loops oopslay
      
      atcay
      ittenkay
      oopslay
      

      Sample Output

      cat
      eh
      loops
      
      
      
      
      
      
      #include<iostream>
      #include<map>
      using namespace std;
      int main()
      {
        string str1, str2, str;
        map<string, string> m;
        map<string, string>::iterator it;
        while(1)
        {
          cin>>str1;
          if(getchar()!=' ')
            break;
          cin>>str2;
          m[str2] = str1;
        }
        do
         {
          it = m.find(str1);
          if(it==m.end())
            cout<<"eh"<<endl;
          else
            cout<<m[str1]<<endl;
        }while(cin>>str1);
         return 0;
      }
      
      

      posted on 2011-09-23 22:52  More study needed.  閱讀(187)  評論(0)    收藏  舉報

      導航

      書山有徑勤為路>>>>>>>>

      <<<<<<<<學海無涯苦作舟!

      主站蜘蛛池模板: 亚洲精品无码久久千人斩| 国产另类ts人妖一区二区| 色吊丝中文字幕在线观看| 亚洲日本欧美日韩中文字幕| 亚洲人成网站999久久久综合 | 欧美乱妇高清无乱码免费| 色噜噜狠狠成人综合| 疯狂做受XXXX高潮国产| 亚洲欧美综合一区二区三区| 国产午夜亚洲精品国产成人 | 热久久美女精品天天吊色| 华人在线亚洲欧美精品| 吉水县| 乱60一70归性欧老妇| 亚洲成a人片在线视频| 99久久免费精品色老| 国产午夜福利大片免费看| 疯狂做受xxxx高潮欧美日本| 狠狠色噜噜狠狠狠777米奇小说| 国产高清在线精品一区APP| 狠狠亚洲色一日本高清色| 久久精品视频一二三四区| 特级aaaaaaaaa毛片免费视频| 亚洲一级特黄大片一级特黄| 欧美乱妇高清无乱码免费| 久久精品亚洲精品国产区| 天天做天天爱夜夜爽女人爽| 久久精品国产亚洲AⅤ无码| 无码人妻丰满熟妇啪啪| 日韩成人性视频在线观看| 国产精品午夜精品福利| 1000部拍拍拍18勿入免费视频| 狠狠综合久久综合88亚洲爱文 | 国产麻豆成人传媒免费观看| 国产成人一区二区三区| 亚洲自拍精品视频在线| 国产中文三级全黄| 亚洲成在人线在线播放无码| 国产精品久久久久久久久久直播| 中文无码日韩欧免费视频| 亚洲中文字幕第二十三页|