锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲精久久久久久无码77777,热re99久久6国产精品免费,久久久久久国产精品无码超碰http://www.shnenglu.com/vontroy/archive/2016/08/31/214243.htmlVontroyVontroyWed, 31 Aug 2016 01:35:00 GMThttp://www.shnenglu.com/vontroy/archive/2016/08/31/214243.htmlhttp://www.shnenglu.com/vontroy/comments/214243.htmlhttp://www.shnenglu.com/vontroy/archive/2016/08/31/214243.html#Feedback0http://www.shnenglu.com/vontroy/comments/commentRss/214243.htmlhttp://www.shnenglu.com/vontroy/services/trackbacks/214243.html

濡傚浘錛屾瘡鏉¤礬寰勪笂淇濆瓨?shù)竴涓瓧姣嶏紝浠庢牴鑺傜偣寮濮嬭繘琛宒fs錛屾瘡閬嶅巻鍒頒竴涓爣璁拌妭鐐癸紙鍥句腑鐨勭孩鐐癸級(jí)錛屼粠鏍硅妭鐐瑰埌褰撳墠鑺傜偣璺緞涓婃墍鏈夊瓧姣嶈繛璧鋒潵鍗充負(fù)涓涓崟璇?/span>

涓婂浘涓瓨鍌ㄤ簡(jiǎn) abc, abcd, b, bcd, efg, hij.

瀵逛簬Trie鏍?wèi)涓昏鏈変笁绉嶆搷浣滃Q?/span>

  1. 鏂板緩涓涓粨鐐?/span>
  2. 鎻掑叆涓涓崟璇?/span>
  3. 鍦╰rie鏍?wèi)涓煡鎵惧崟璇?/span>
trie鏍?wèi)涓瘡娆℃彃鍏ヤ竴涓粨鐐圭殑鏃墮棿澶嶆潅搴︽槸 O( strlen( str ) )
寤虹珛trie鏍?wèi)鐨勬棄櫁村鏉傚害湄?fù) O( ∑strlen( str[i] ) )
瀵逛簬姣忎釜鍗曡瘝錛屾煡璇㈢殑鏃墮棿澶嶆潅搴︿負(fù) O( strlen( str ) )

Templates:

Struct:

struct node  
{  
    
int flag;     //The end of a word  
    node* next[26];  
};  

鏂板緩緇撶偣錛?/span>

node* newnode()  
{  
    node* p = new node;  
  
    p->flag = 0;  
  
    
forint i = 0; i < 26; i++ )  
        p->next[i] = NULL;  
  
    
return p;  
}  

鎻掑叆鍗曡瘝錛?/span>

void trie_insert( node* root, char* s )  
{  
    node* p = root;  
    
int len = strlen( s );  
  
    
int tmp;  
    
forint i = 0; i < len; i++ )  
    {  
        tmp = s[i] - 'a';  
        
if( p->next[tmp] == NULL )  
            p->next[tmp] = newnode();  
        p = p->next[tmp];  
    }  
    p->flag = 1;  
}  

鏌ヨ錛?/span>

int trie_search( node* root, char* s )  
{  
    node* p = root;  
    
int len = strlen( s );  
  
    
int tmp;  
    
forint i = 0; i < len; i++ )  
    {  
        tmp = s[i] - 'a';  
        
if( p->next[tmp] == NULL )         //not matched  
            return 0;  
        p = p->next[tmp];  
    }  
  
    
if( p->flag )     //match && it is a word which has been stored  
    return 1;  
    
return 0;  
}  


Vontroy 2016-08-31 09:35 鍙戣〃璇勮
]]>
HDU 2734 Quicksum 綆鍗曞瓧絎︿覆澶勭悊http://www.shnenglu.com/vontroy/archive/2010/10/03/128420.htmlVontroyVontroySun, 03 Oct 2010 02:03:00 GMThttp://www.shnenglu.com/vontroy/archive/2010/10/03/128420.htmlhttp://www.shnenglu.com/vontroy/comments/128420.htmlhttp://www.shnenglu.com/vontroy/archive/2010/10/03/128420.html#Feedback0http://www.shnenglu.com/vontroy/comments/commentRss/128420.htmlhttp://www.shnenglu.com/vontroy/services/trackbacks/128420.html

Quicksum

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 492    Accepted Submission(s): 408

Problem Description
A checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used for detecting transmission errors, validating document contents, and in many other situations where it is necessary to detect undesirable changes in data.

For this problem, you will implement a checksum algorithm called Quicksum. A Quicksum packet allows only uppercase letters and spaces. It always begins and ends with an uppercase letter. Otherwise, spaces and letters can occur in any combination, including consecutive spaces.

A Quicksum is the sum of the products of each character's position in the packet times the character's value. A space has a value of zero, while letters have a value equal to their position in the alphabet. So, A=1, B=2, etc., through Z=26. Here are example Quicksum calculations for the packets "ACM" and "MID CENTRAL":

ACM: 1*1 + 2*3 + 3*13 = 46MID CENTRAL: 1*13 + 2*9 + 3*4 + 4*0 + 5*3 + 6*5 + 7*14 + 8*20 + 9*18 + 10*1 + 11*12 = 650
 

Input
The input consists of one or more packets followed by a line containing only # that signals the end of the input. Each packet is on a line by itself, does not begin or end with a space, and contains from 1 to 255 characters.
 

Output
For each packet, output its Quicksum on a separate line in the output.
 

Sample Input
ACM MID CENTRAL REGIONAL PROGRAMMING CONTEST ACN A C M ABC BBC #
 

Sample Output
46 650 4690 49 75 14 15


#include <iostream>
#include 
<cstdio>
#include 
<cstring>

int main()
{
    
char str[260];
    
int ans = 0;
    
while( gets(str) && str[0!= '#' )
    
{
        ans 
= 0;
        
int len = strlen(str);
        
forint i = 0; i < len; i++ )
        
{
            
if( str[i] == ' ' )
                
continue;
            
else
                ans 
+= ( str[i] - 64 ) * ( i + 1 );
        }

        std::cout 
<< ans << std::endl;
    }

    
return 0;
}




Vontroy 2010-10-03 10:03 鍙戣〃璇勮
]]>
POJ 1007 DNA Sorting 瀛楃涓插鐞唡紼沖畾鎺掑簭http://www.shnenglu.com/vontroy/archive/2010/10/02/128354.htmlVontroyVontroySat, 02 Oct 2010 13:23:00 GMThttp://www.shnenglu.com/vontroy/archive/2010/10/02/128354.htmlhttp://www.shnenglu.com/vontroy/comments/128354.htmlhttp://www.shnenglu.com/vontroy/archive/2010/10/02/128354.html#Feedback0http://www.shnenglu.com/vontroy/comments/commentRss/128354.htmlhttp://www.shnenglu.com/vontroy/services/trackbacks/128354.html/*****************
瀛楃涓插鐞?br />紼沖畾鎺掑簭
*****************
*/


#include 
<iostream>
#include 
<algorithm>
#include 
<string>

using namespace std;

struct DNA
{
    
int pos;
    
int cnt;
    
string str;
}
;

bool cmp(const DNA &a, const DNA &b)
{
    
if (a.cnt != b.cnt)
    
{
        
return a.cnt < b.cnt;
    }

    
else
    
{
        
return a.pos < b.pos;
    }

}


int main()
{
    
int n, m, count;
    DNA ans[
110];
    
string str;
    cin 
>> n >> m;

    
for (int i = 0; i < m; i++)
    
{
        cin 
>> str;
        count 
= 0;
        
        
for (int j = 0; j < n - 1; j++)
            
for (int k = j + 1; k < n; k++)
                
if (str[j] > str[k]) count++;
                
        ans[i].str 
= str;
        ans[i].cnt 
= count;
        ans[i].pos 
= i;
    }


    sort(ans, ans 
+ m, cmp);

    
for (int i = 0; i < m; i++)
        cout 
<< ans[i].str << endl;

    
return 0;
}



Vontroy 2010-10-02 21:23 鍙戣〃璇勮
]]>
POJ 1002 487-3279 瀛楃涓插鐞?/title><link>http://www.shnenglu.com/vontroy/archive/2010/10/02/128340.html</link><dc:creator>Vontroy</dc:creator><author>Vontroy</author><pubDate>Sat, 02 Oct 2010 11:21:00 GMT</pubDate><guid>http://www.shnenglu.com/vontroy/archive/2010/10/02/128340.html</guid><wfw:comment>http://www.shnenglu.com/vontroy/comments/128340.html</wfw:comment><comments>http://www.shnenglu.com/vontroy/archive/2010/10/02/128340.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/vontroy/comments/commentRss/128340.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/vontroy/services/trackbacks/128340.html</trackback:ping><description><![CDATA[<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000">#include </span><span style="color: #000000"><</span><span style="color: #000000">iostream</span><span style="color: #000000">></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" />#include </span><span style="color: #000000"><</span><span style="color: #0000ff">string</span><span style="color: #000000">></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" />#include </span><span style="color: #000000"><</span><span style="color: #000000">algorithm</span><span style="color: #000000">></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" />#include </span><span style="color: #000000"><</span><span style="color: #000000">cstdio</span><span style="color: #000000">></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #0000ff">const</span><span style="color: #000000"> </span><span style="color: #0000ff">int</span><span style="color: #000000"> maxn </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">20000</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #0000ff">const</span><span style="color: #000000"> </span><span style="color: #0000ff">int</span><span style="color: #000000"> MAXN </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">100000</span><span style="color: #000000">+</span><span style="color: #000000">10</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #0000ff">using</span><span style="color: #000000"> std :: </span><span style="color: #0000ff">string</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #0000ff">using</span><span style="color: #000000"> std :: cout;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #0000ff">using</span><span style="color: #000000"> std :: endl;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #0000ff">int</span><span style="color: #000000"> main()<br /><img id="Codehighlighter1_202_2379_Open_Image" onclick="this.style.display='none'; Codehighlighter1_202_2379_Open_Text.style.display='none'; Codehighlighter1_202_2379_Closed_Image.style.display='inline'; Codehighlighter1_202_2379_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_202_2379_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_202_2379_Closed_Text.style.display='none'; Codehighlighter1_202_2379_Open_Image.style.display='inline'; Codehighlighter1_202_2379_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_202_2379_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_202_2379_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: #0000ff">string</span><span style="color: #000000"> ans[MAXN];<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: #0000ff">char</span><span style="color: #000000"> tel[maxn];<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: #0000ff">char</span><span style="color: #000000"> store[maxn];<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: #0000ff">int</span><span style="color: #000000"> n;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: #0000ff">bool</span><span style="color: #000000"> ok;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #0000ff">while</span><span style="color: #000000">(</span><span style="color: #000000">~</span><span style="color: #000000"> scanf(</span><span style="color: #000000">"</span><span style="color: #000000">%d</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">&</span><span style="color: #000000">n))<br /><img id="Codehighlighter1_323_2363_Open_Image" onclick="this.style.display='none'; Codehighlighter1_323_2363_Open_Text.style.display='none'; Codehighlighter1_323_2363_Closed_Image.style.display='inline'; Codehighlighter1_323_2363_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_323_2363_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_323_2363_Closed_Text.style.display='none'; Codehighlighter1_323_2363_Open_Image.style.display='inline'; Codehighlighter1_323_2363_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_323_2363_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_323_2363_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        ok </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> count </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #0000ff">while</span><span style="color: #000000">(n</span><span style="color: #000000">--</span><span style="color: #000000">)<br /><img id="Codehighlighter1_395_1730_Open_Image" onclick="this.style.display='none'; Codehighlighter1_395_1730_Open_Text.style.display='none'; Codehighlighter1_395_1730_Closed_Image.style.display='inline'; Codehighlighter1_395_1730_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_395_1730_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_395_1730_Closed_Text.style.display='none'; Codehighlighter1_395_1730_Open_Image.style.display='inline'; Codehighlighter1_395_1730_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_395_1730_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_395_1730_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />            scanf(</span><span style="color: #000000">"</span><span style="color: #000000">%s</span><span style="color: #000000">"</span><span style="color: #000000">,tel);<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> j;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />            </span><span style="color: #0000ff">for</span><span style="color: #000000">(</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">,j </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; tel[i] </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">\0</span><span style="color: #000000">'</span><span style="color: #000000">; i</span><span style="color: #000000">++</span><span style="color: #000000">)<br /><img id="Codehighlighter1_512_1686_Open_Image" onclick="this.style.display='none'; Codehighlighter1_512_1686_Open_Text.style.display='none'; Codehighlighter1_512_1686_Closed_Image.style.display='inline'; Codehighlighter1_512_1686_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_512_1686_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_512_1686_Closed_Text.style.display='none'; Codehighlighter1_512_1686_Open_Image.style.display='inline'; Codehighlighter1_512_1686_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">            </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_512_1686_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_512_1686_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">-</span><span style="color: #000000">'</span><span style="color: #000000">0</span><span style="color: #000000">'</span><span style="color: #000000">>=</span><span style="color: #000000">0</span><span style="color: #000000">&&</span><span style="color: #000000">tel[i]</span><span style="color: #000000">-</span><span style="color: #000000">'</span><span style="color: #000000">0</span><span style="color: #000000">'</span><span style="color: #000000"><=</span><span style="color: #000000">9</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                      store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> tel[i];<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i] </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">-</span><span style="color: #000000">'</span><span style="color: #000000"> </span><span style="color: #000000">&&</span><span style="color: #000000"> j </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #000000">3</span><span style="color: #000000"> )<br /><img id="Codehighlighter1_672_1628_Open_Image" onclick="this.style.display='none'; Codehighlighter1_672_1628_Open_Text.style.display='none'; Codehighlighter1_672_1628_Closed_Image.style.display='inline'; Codehighlighter1_672_1628_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_672_1628_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_672_1628_Closed_Text.style.display='none'; Codehighlighter1_672_1628_Open_Image.style.display='inline'; Codehighlighter1_672_1628_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_672_1628_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_672_1628_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #008000">//</span><span style="color: #008000">ans[count]+='2';</span><span style="color: #008000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">                    </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">A</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">B</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">C</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">2</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">D</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">E</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">F</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">3</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">G</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">H</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">I</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">4</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">J</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">K</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">L</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">5</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">M</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">N</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">O</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">6</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">P</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">R</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">S</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">7</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">T</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">U</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">V</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">8</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">W</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">X</span><span style="color: #000000">'</span><span style="color: #000000">||</span><span style="color: #000000">tel[i]</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">Y</span><span style="color: #000000">'</span><span style="color: #000000">)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                            store[j</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">'</span><span style="color: #000000">9</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />                }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">( j</span><span style="color: #000000">==</span><span style="color: #000000">3</span><span style="color: #000000"> )  store[j</span><span style="color: #000000">++</span><span style="color: #000000">]</span><span style="color: #000000">=</span><span style="color: #000000">'</span><span style="color: #000000">-</span><span style="color: #000000">'</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />            }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />            ans[count</span><span style="color: #000000">++</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> store;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />        }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        std :: sort(ans,ans</span><span style="color: #000000">+</span><span style="color: #000000">count);<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> ans_count;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #0000ff">for</span><span style="color: #000000">(</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> count; i</span><span style="color: #000000">++</span><span style="color: #000000">)<br /><img id="Codehighlighter1_1838_2217_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1838_2217_Open_Text.style.display='none'; Codehighlighter1_1838_2217_Closed_Image.style.display='inline'; Codehighlighter1_1838_2217_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_1838_2217_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1838_2217_Closed_Text.style.display='none'; Codehighlighter1_1838_2217_Open_Image.style.display='inline'; Codehighlighter1_1838_2217_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_1838_2217_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1838_2217_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />             ans_count </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />             </span><span style="color: #0000ff">for</span><span style="color: #000000">(</span><span style="color: #0000ff">int</span><span style="color: #000000"> j </span><span style="color: #000000">=</span><span style="color: #000000"> i </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">; j </span><span style="color: #000000"><</span><span style="color: #000000"> count; j</span><span style="color: #000000">++</span><span style="color: #000000">)<br /><img id="Codehighlighter1_1929_2022_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1929_2022_Open_Text.style.display='none'; Codehighlighter1_1929_2022_Closed_Image.style.display='inline'; Codehighlighter1_1929_2022_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_1929_2022_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1929_2022_Closed_Text.style.display='none'; Codehighlighter1_1929_2022_Open_Image.style.display='inline'; Codehighlighter1_1929_2022_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">             </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_1929_2022_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1929_2022_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                 </span><span style="color: #0000ff">if</span><span style="color: #000000">(ans[j]</span><span style="color: #000000">==</span><span style="color: #000000">ans[i]) ans_count</span><span style="color: #000000">++</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                 </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />             }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />             </span><span style="color: #0000ff">if</span><span style="color: #000000">(ans_count </span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">)<br /><img id="Codehighlighter1_2068_2207_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2068_2207_Open_Text.style.display='none'; Codehighlighter1_2068_2207_Closed_Image.style.display='inline'; Codehighlighter1_2068_2207_Closed_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_2068_2207_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_2068_2207_Closed_Text.style.display='none'; Codehighlighter1_2068_2207_Open_Image.style.display='inline'; Codehighlighter1_2068_2207_Open_Text.style.display='inline';" align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">             </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_2068_2207_Closed_Text"><img src="http://www.shnenglu.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_2068_2207_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                 ok </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                 cout </span><span style="color: #000000"><<</span><span style="color: #000000"> ans[i] </span><span style="color: #000000"><<</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000"><<</span><span style="color: #000000"> ans_count </span><span style="color: #000000"><<</span><span style="color: #000000"> endl;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />                 i</span><span style="color: #000000">+=</span><span style="color: #000000">(ans_count</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">);<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />             }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />        }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #0000ff">if</span><span style="color: #000000">(</span><span style="color: #000000">!</span><span style="color: #000000">ok)  cout </span><span style="color: #000000"><<</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">No duplicates.</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000"><<</span><span style="color: #000000"> endl;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #008000">//</span><span style="color: #008000">for(int i = 0; i <count; i++)<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #008000">//</span><span style="color: #008000">std :: cout << ans[i] << std :: endl;</span><span style="color: #008000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" /></span><span style="color: #000000">    }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><img src ="http://www.shnenglu.com/vontroy/aggbug/128340.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/vontroy/" target="_blank">Vontroy</a> 2010-10-02 19:21 <a href="http://www.shnenglu.com/vontroy/archive/2010/10/02/128340.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.vfmg.cn" target="_blank">亚洲愉拍99热成人精品热久久</a>| <a href="http://www.skjzy.cn" target="_blank">青青青青久久精品国产h久久精品五福影院1421 </a>| <a href="http://www.lalaazg.cn" target="_blank">伊人久久大香线蕉成人</a>| <a href="http://www.panroad.cn" target="_blank">综合久久一区二区三区 </a>| <a href="http://www.1rizu.cn" target="_blank">国产亚洲色婷婷久久99精品</a>| <a href="http://www.zhengulao.cn" target="_blank">久久天天躁狠狠躁夜夜网站</a>| <a href="http://www.6dou.net.cn" target="_blank">国内精品九九久久久精品</a>| <a href="http://www.dnsdna.cn" target="_blank">一本一道久久精品综合</a>| <a href="http://www.jv3znx.cn" target="_blank">久久无码国产</a>| <a href="http://www.mrzqjn.cn" target="_blank">久久久无码精品亚洲日韩蜜臀浪潮</a>| <a href="http://www.djmb.net.cn" target="_blank">97久久香蕉国产线看观看</a>| <a href="http://www.cqtqtz.cn" target="_blank">久久久久亚洲AV综合波多野结衣 </a>| <a href="http://www.zhangjiaying.cn" target="_blank">亚洲精品美女久久久久99</a>| <a href="http://www.anglein.cn" target="_blank">久久91综合国产91久久精品</a>| <a href="http://www.sz5111.cn" target="_blank">一本久久综合亚洲鲁鲁五月天</a>| <a href="http://www.0553fc.cn" target="_blank">久久精品aⅴ无码中文字字幕重口</a>| <a href="http://www.chcbszxw.cn" target="_blank">久久精品国产第一区二区</a>| <a href="http://www.37000.com.cn" target="_blank">无遮挡粉嫩小泬久久久久久久</a>| <a href="http://www.yzx777.cn" target="_blank">91久久香蕉国产熟女线看</a>| <a href="http://www.5o42i9.cn" target="_blank">色欲综合久久躁天天躁蜜桃</a>| <a href="http://www.zwdl.com.cn" target="_blank">久久久久噜噜噜亚洲熟女综合</a>| <a href="http://www.2218335.cn" target="_blank">欧美黑人激情性久久</a>| <a href="http://www.webfi.cn" target="_blank">四虎国产精品成人免费久久</a>| <a href="http://www.piaowutong.com.cn" target="_blank">久久国产免费观看精品</a>| <a href="http://www.xiangzen.cn" target="_blank">一本一道久久综合狠狠老</a>| <a href="http://www.zhongtianhgjc.cn" target="_blank">狠狠综合久久综合中文88</a>| <a href="http://www.t55n3z.cn" target="_blank">www久久久天天com</a>| <a href="http://www.phpluck.cn" target="_blank">亚洲精品乱码久久久久久蜜桃不卡 </a>| <a href="http://www.yueyuju.cn" target="_blank">欧美日韩精品久久久久</a>| <a href="http://www.dgcry.cn" target="_blank">国产综合成人久久大片91</a>| <a href="http://www.youhezulin.cn" target="_blank">久久久精品人妻一区二区三区四</a>| <a href="http://www.henpu.cn" target="_blank">一级a性色生活片久久无</a>| <a href="http://www.9dn.com.cn" target="_blank">久久久国产精华液</a>| <a href="http://www.2vc80.cn" target="_blank">久久久久久av无码免费看大片</a>| <a href="http://www.rereyy.cn" target="_blank">97精品久久天干天天天按摩</a>| <a href="http://www.ezftdhwp.cn" target="_blank">97久久婷婷五月综合色d啪蜜芽</a>| <a href="http://www.barf1.com.cn" target="_blank">欧美激情精品久久久久久久九九九</a>| <a href="http://www.csrjgzs.cn" target="_blank">观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 </a>| <a href="http://www.tyan56.cn" target="_blank">国产精品女同一区二区久久</a>| <a href="http://www.0771008.cn" target="_blank">国产精品久久久久…</a>| <a href="http://www.psjp.net.cn" target="_blank">国产精品久久网</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>