|  
 
 
      if(k!=it->first.size())  continue;   31.                 //确定是单词后    32.                        if(it->first.size()>mmax)//如果这个单词长度比目前发现的最大长度还要大 就要把st集合之前保存的全丢掉    33.                        {   34.                            mmax=it->first.size();   35.                            st.clear();   36.                            st.insert(it->first);   37.                        }   38.                        else   39.                        {   40.                            if(it->first.size()==mmax)//如果是最大的就放进集合st中    41.                                       st.insert(it->first);   42.                        }   43.            }   44.        }   45.        if(st.size()==1) //如果就一个直接输出     46.        {    47.            if(flag==0)    48.            {   49.               cout<<(*st.begin()) ;   50.               flag=1;&上一页  [1] [2] [3] [4] [5] [6] 下一页  
 |