锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲一区二区三区在线观看,黄色成人av在线,欧美日韩国产大片http://m.shnenglu.com/yzhw/category/15164.htmlzh-cnThu, 21 Jul 2011 04:20:37 GMTThu, 21 Jul 2011 04:20:37 GMT60pku1309 鏁板浼樺寲+鏋氫婦http://m.shnenglu.com/yzhw/archive/2011/07/19/151338.htmlyzhwyzhwMon, 18 Jul 2011 16:10:00 GMThttp://m.shnenglu.com/yzhw/archive/2011/07/19/151338.htmlhttp://m.shnenglu.com/yzhw/comments/151338.htmlhttp://m.shnenglu.com/yzhw/archive/2011/07/19/151338.html#Feedback0http://m.shnenglu.com/yzhw/comments/commentRss/151338.htmlhttp://m.shnenglu.com/yzhw/services/trackbacks/151338.html
Coconuts, Revisited
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 1832
Accepted: 737

Description

The short story titled Coconuts, by Ben Ames Williams, appeared in the Saturday Evening Post on October 9, 1926. The story tells about five men and a monkey who were shipwrecked on an island. They spent the first night gathering coconuts. During the night, one man woke up and decided to take his share of the coconuts. He divided them into five piles. One coconut was left over so he gave it to the monkey, then hid his share and went back to sheep.

Soon a second man woke up and did the same thing. After dividing the coconuts into five piles, one coconut was left over which he gave to the monkey. He then hid his share and went back to bed. The third, fourth, and fifth man followed exactly the same procedure. The next morning, after they all woke up, they divided the remaining coconuts into five equal shares. This time no coconuts were left over.

An obvious question is "how many coconuts did they originally gather?" There are an infinite number of answers, but the lowest of these is 3,121. But that's not our problem here.

Suppose we turn the problem around. If we know the number of coconuts that were gathered, what is the maximum number of persons (and one monkey) that could have been shipwrecked if the same procedure could occur?

Input

The input will consist of a sequence of integers, each representing the number of coconuts gathered by a group of persons (and a monkey) that were shipwrecked. The sequence will be followed by a negative number.

Output

For each number of coconuts, determine the largest number of persons who could have participated in the procedure described above. Display the results similar to the manner shown below, in the Expected Output. There may be no solution for some of the input cases; if so, state that observation.

Sample Input

25 30 3121 -1

Sample Output

25 coconuts, 3 people and 1 monkey 30 coconuts, no solution 3121 coconuts, 5 people and 1 monkey

Source


瑙f硶錛?br />棣栧厛鍐欏嚭閫掓帹鍏紡
f(0)=A  A=nk
f(i)=f(i-1)/(n-1)*n+1

闅忎究浠涔堟柟娉曞啓鍑洪棴褰㈠紡
f(n)=[錛坣^n錛?錛圓+n-1錛塢/[錛坣-1錛塣n]-(n-1)
棰樼洰涓憡璇塮(n)鐨勫鹼紝姹俷鏈澶у?br />棣栧厛瑙傚療涓嬪墠闈㈤偅涓垎寮忥紝鐢變簬n鍜宯-1浜掕川錛屾墍浠^n鍜?n-1)^n涔熶簰璐?/span>錛屽垎寮忕粨鏋滆涓轟竴涓暣鏁幫紝f(n)+n-1涓繀欏誨惈鏈夊洜瀛恘^n錛涙崲鍙ヨ瘽璇達紝f(n)+n-1>n^n,棰樼洰涓粰鐨刦(n)鍙互鐢?2浣嶆暣鏁拌〃紺猴紝閭d箞n蹇呯劧灝忎簬12錛?/span>
涓嬮潰涓嶇敤璇翠粈涔堜簡錛屾毚鍔涘惂錛岃偗瀹?MS浜唦涓嶈繃涓轟簡瀹岀編錛宯^n鎴戠敤浜嗕簩榪涘埗蹇熷箓~鍏蜂綋鐪嬩唬鐮佸惂

浠g爜錛?br />
 1 Source Code
 2 Problem: 1309        User: yzhw
 3 Memory: 392K        Time: 0MS
 4 Language: G++        Result: Accepted
 5 
 6     Source Code
 7 
 8     # include <cstdio>
 9     using namespace std;
10     long long pow(int a,int b)
11     {
12         long long ans=1,t=a;
13         while(b)
14         {
15             if(b&1) ans*=t;
16             t*=t;
17             b>>=1;
18         }
19         return ans;
20     }
21     int main()
22     {
23         //freopen("input.txt","r",stdin);
24         int n;
25         while(scanf("%d",&n)!=EOF&&n>=0)
26         {
27             int ans=-1,i;
28             for(i=2;i<=12;i++)
29             {
30                 long long t=n;
31                 t+=i-1;
32                 long long t1=pow(i,i),t2=pow(i-1,i);
33                 if(t%t1==0)
34                 {
35                     t=t/t1*t2-i+1;
36                     if(t>=0&&t%i==0) ans=i;
37                 }
38             }
39             if(ans==-1) printf("%d coconuts, no solution\n",n);
40             else printf("%d coconuts, %d people and 1 monkey\n",n,ans);
41         }
42         return 0;
43     }
44 
45 


yzhw 2011-07-19 00:10 鍙戣〃璇勮
]]>
pku1894-1903 Northeastern Europe 2003 瑙i鎶ュ憡http://m.shnenglu.com/yzhw/archive/2011/02/04/139716.htmlyzhwyzhwThu, 03 Feb 2011 17:08:00 GMThttp://m.shnenglu.com/yzhw/archive/2011/02/04/139716.htmlhttp://m.shnenglu.com/yzhw/comments/139716.htmlhttp://m.shnenglu.com/yzhw/archive/2011/02/04/139716.html#Feedback0http://m.shnenglu.com/yzhw/comments/commentRss/139716.htmlhttp://m.shnenglu.com/yzhw/services/trackbacks/139716.html闃呰鍏ㄦ枃

yzhw 2011-02-04 01:08 鍙戣〃璇勮
]]>
pku2894-2903 Tehran 2005 姣旇禌鎬葷粨http://m.shnenglu.com/yzhw/archive/2011/01/31/139630.htmlyzhwyzhwSun, 30 Jan 2011 17:59:00 GMThttp://m.shnenglu.com/yzhw/archive/2011/01/31/139630.htmlhttp://m.shnenglu.com/yzhw/comments/139630.htmlhttp://m.shnenglu.com/yzhw/archive/2011/01/31/139630.html#Feedback1http://m.shnenglu.com/yzhw/comments/commentRss/139630.htmlhttp://m.shnenglu.com/yzhw/services/trackbacks/139630.html闃呰鍏ㄦ枃

yzhw 2011-01-31 01:59 鍙戣〃璇勮
]]>
pku 3499 Containers 鏁板銆傘?/title><link>http://m.shnenglu.com/yzhw/archive/2010/12/03/135317.html</link><dc:creator>yzhw</dc:creator><author>yzhw</author><pubDate>Thu, 02 Dec 2010 16:13:00 GMT</pubDate><guid>http://m.shnenglu.com/yzhw/archive/2010/12/03/135317.html</guid><wfw:comment>http://m.shnenglu.com/yzhw/comments/135317.html</wfw:comment><comments>http://m.shnenglu.com/yzhw/archive/2010/12/03/135317.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/yzhw/comments/commentRss/135317.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/yzhw/services/trackbacks/135317.html</trackback:ping><description><![CDATA[棰樻剰鏄繖鏍?br>N涓泦瑁呯錛屼刊瑙嗗浘濡備笅錛屾渶澶氬彔5灞傘傝姹傚簳闈㈢Н鏈灝忋傚鏋滄湁閲嶅鏂規錛岃姹傞暱銆佸鐨勭粷瀵瑰煎樊鏈灝?br><img border=0 alt="" src="http://poj.org/images/3499_1.png" width=554 height=254><br>灝哄錛氶泦瑁呯 8*40 ,姘村鉤闂磋窛錛?錛岀珫鐩撮棿璺濓細2<br><br>棰樿В錛?br>鏋氫婦綰靛悜涓暟錛屾灇涓懼埌sqrt(涓婂彇鏁達紙n/5)鍗沖彲銆?br><br>紼嬪簭錛?br> <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"><span style="COLOR: #008080"> 1</span><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> java.util.</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080"> 2</span><span style="COLOR: #000000"><img id=Codehighlighter1_38_679_Open_Image onclick="this.style.display='none'; Codehighlighter1_38_679_Open_Text.style.display='none'; Codehighlighter1_38_679_Closed_Image.style.display='inline'; Codehighlighter1_38_679_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_38_679_Closed_Image onclick="this.style.display='none'; Codehighlighter1_38_679_Closed_Text.style.display='none'; Codehighlighter1_38_679_Open_Image.style.display='inline'; Codehighlighter1_38_679_Open_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> Main </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_38_679_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_38_679_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080"> 3</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080"> 4</span><span style="COLOR: #000000"><img id=Codehighlighter1_42_65_Open_Image onclick="this.style.display='none'; Codehighlighter1_42_65_Open_Text.style.display='none'; Codehighlighter1_42_65_Closed_Image.style.display='inline'; Codehighlighter1_42_65_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_42_65_Closed_Image onclick="this.style.display='none'; Codehighlighter1_42_65_Closed_Text.style.display='none'; Codehighlighter1_42_65_Open_Image.style.display='inline'; Codehighlighter1_42_65_Open_Text.style.display='inline';" align=top src="http://m.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_42_65_Closed_Text>/** */</span><span id=Codehighlighter1_42_65_Open_Text><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br></span><span style="COLOR: #008080"> 5</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">     * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> args<br></span><span style="COLOR: #008080"> 6</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">     </span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080"> 7</span><span style="COLOR: #000000"><img id=Codehighlighter1_107_676_Open_Image onclick="this.style.display='none'; Codehighlighter1_107_676_Open_Text.style.display='none'; Codehighlighter1_107_676_Closed_Image.style.display='inline'; Codehighlighter1_107_676_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_107_676_Closed_Image onclick="this.style.display='none'; Codehighlighter1_107_676_Closed_Text.style.display='none'; Codehighlighter1_107_676_Open_Image.style.display='inline'; Codehighlighter1_107_676_Open_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> main(String[] args) </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_107_676_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_107_676_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080"> 8</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        Scanner in</span><span style="COLOR: #000000">=</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> Scanner(System.in);<br></span><span style="COLOR: #008080"> 9</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> test</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">in.nextInt();<br></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">((test</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">)<br></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img id=Codehighlighter1_194_672_Open_Image onclick="this.style.display='none'; Codehighlighter1_194_672_Open_Text.style.display='none'; Codehighlighter1_194_672_Closed_Image.style.display='inline'; Codehighlighter1_194_672_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_194_672_Closed_Image onclick="this.style.display='none'; Codehighlighter1_194_672_Closed_Text.style.display='none'; Codehighlighter1_194_672_Open_Image.style.display='inline'; Codehighlighter1_194_672_Open_Text.style.display='inline';" align=top src="http://m.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_194_672_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_194_672_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            </span><span style="COLOR: #0000ff">long</span><span style="COLOR: #000000"> num</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">in.nextLong();<br></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            num</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(num</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">5</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">?</span><span style="COLOR: #000000">num</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">5</span><span style="COLOR: #000000">:num</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">5</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">);<br></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            </span><span style="COLOR: #0000ff">long</span><span style="COLOR: #000000"> r1</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">Long.MAX_VALUE,r2</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">Long.MAX_VALUE,l</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">,w </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">long</span><span style="COLOR: #000000"> a</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000"><=</span><span style="COLOR: #000000">num;a</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">16</span><span style="COLOR: #000000"><img id=Codehighlighter1_344_600_Open_Image onclick="this.style.display='none'; Codehighlighter1_344_600_Open_Text.style.display='none'; Codehighlighter1_344_600_Closed_Image.style.display='inline'; Codehighlighter1_344_600_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_344_600_Closed_Image onclick="this.style.display='none'; Codehighlighter1_344_600_Closed_Text.style.display='none'; Codehighlighter1_344_600_Open_Image.style.display='inline'; Codehighlighter1_344_600_Open_Text.style.display='inline';" align=top src="http://m.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_344_600_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_344_600_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">17</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">long</span><span style="COLOR: #000000"> b</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(num</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">?</span><span style="COLOR: #000000">num</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">a:num</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">);<br></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">((a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">44</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">4</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">10</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">r1</span><span style="COLOR: #000000">||</span><span style="COLOR: #000000">(a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">44</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">4</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">10</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">r1</span><span style="COLOR: #000000">&&</span><span style="COLOR: #000000">Math.abs((a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">44</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">4</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">10</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">))</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">r2)<br></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img id=Codehighlighter1_471_575_Open_Image onclick="this.style.display='none'; Codehighlighter1_471_575_Open_Text.style.display='none'; Codehighlighter1_471_575_Closed_Image.style.display='inline'; Codehighlighter1_471_575_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_471_575_Closed_Image onclick="this.style.display='none'; Codehighlighter1_471_575_Closed_Text.style.display='none'; Codehighlighter1_471_575_Open_Image.style.display='inline'; Codehighlighter1_471_575_Open_Text.style.display='inline';" align=top src="http://m.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_471_575_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_471_575_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                    r1</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">44</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">4</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">10</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">);<br></span><span style="COLOR: #008080">21</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                    r2</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">Math.abs((a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">44</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">4</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">10</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">));<br></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                    l</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">44</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">4</span><span style="COLOR: #000000">);<br></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                    w</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(b</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">);<br></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(b</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">) </span><span style="COLOR: #0000ff">break</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">            }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            System.out.println(Math.max(w,l)</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">Math.min(w, l)</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">r1);<br></span><span style="COLOR: #008080">28</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">        }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">    }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif">}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">33</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> <img src ="http://m.shnenglu.com/yzhw/aggbug/135317.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/yzhw/" target="_blank">yzhw</a> 2010-12-03 00:13 <a href="http://m.shnenglu.com/yzhw/archive/2010/12/03/135317.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>The 2010 ACM-ICPC Asia Chengdu Regional Contest Error Curves 涓夊垎娉曟眰鍑稿嚱鏁版瀬鍊?/title><link>http://m.shnenglu.com/yzhw/archive/2010/11/16/133737.html</link><dc:creator>yzhw</dc:creator><author>yzhw</author><pubDate>Mon, 15 Nov 2010 16:50:00 GMT</pubDate><guid>http://m.shnenglu.com/yzhw/archive/2010/11/16/133737.html</guid><wfw:comment>http://m.shnenglu.com/yzhw/comments/133737.html</wfw:comment><comments>http://m.shnenglu.com/yzhw/archive/2010/11/16/133737.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/yzhw/comments/commentRss/133737.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/yzhw/services/trackbacks/133737.html</trackback:ping><description><![CDATA[<center><span id="hvzpftn" class=bigProblemTitle>Error Curves</span></center> <hr> <center><font color=green>Time Limit: </font>2 Seconds      <font color=green>Memory Limit: </font>65536 KB </center> <hr> <p>Josephina is a clever girl and addicted to Machine Learning recently. She pays much attention to a method called Linear Discriminant Analysis, which has many interesting properties. <p>In order to test the algorithm's efficiency, she collects many datasets. What's more, each data is divided into two parts: training data and test data. She gets the parameters of the model on training data and test the model on test data. <p>To her surprise, she finds each dataset's test error curve is just a parabolic curve. A parabolic curve corresponds to a quadratic function. In mathematics, a quadratic function is a polynomial function of the form <em>f(x) = ax<sup>2</sup> + bx + c</em>. The quadratic will degrade to linear function if <em>a = 0</em>. <p> <div style="TEXT-ALIGN: center"><img alt="Quadric Function" src="http://acm.zju.edu.cn/onlinejudge/showImage.do?name=quadric_function.jpg"></div> <p>It's very easy to calculate the minimal error if there is only one test error curve. However, there are several datasets, which means Josephina will obtain many parabolic curves. Josephina wants to get the tuned parameters that make the best performance on all datasets. So she should take all error curves into account, i.e., she has to deal with many quadric functions and make a new error definition to represent the total error. Now, she focuses on the following new function's minimal which related to multiple quadric functions. <p>The new function <em>F(x)</em> is defined as follow: <center> <p><em>F(x) = max(S<sub>i</sub>(x))</em>, <em>i</em> = 1...<em>n</em>. The domain of <em>x</em> is [0, 1000]. <em>S<sub>i</sub>(x)</em> is a quadric function. </center> <p>Josephina wonders the minimum of <em>F(x)</em>. Unfortunately, it's too hard for her to solve this problem. As a super programmer, can you help her? <h4>Input</h4> <p>The input contains multiple test cases. The first line is the number of cases <em>T</em> (<em>T</em> < 100). Each case begins with a number <em>n</em>(<em>n</em> ≤ 10000). Following <em>n</em> lines, each line contains three integers <em>a</em> (0 ≤ <em>a</em> ≤ 100), <em>b</em> (|<em>b</em>| ≤ 5000), <em>c</em> (|<em>c</em>| ≤ 5000), which mean the corresponding coefficients of a quadratic function. </p> <h4>Output</h4> <p>For each test case, output the answer in a line. Round to 4 digits after the decimal point. </p> <h4>Sample Input</h4> <pre>2 1 2 0 0 2 2 0 0 2 -4 2 </pre> <h4>Sample Output</h4> <pre>0.0000 0.5000 </pre> <pre>綆鏄庨鎰忥細姹備竴鍫?span style="COLOR: red">寮鍙e悜涓?/span>鐨勪簩嬈″嚱鏁板湪[0,1000]鑼冨洿涓婂嚱鏁板兼渶澶у肩殑鏈灝忓箋?/pre> <pre>浜屾鍑芥暟鐨勫瓙闆嗕粛鐒朵負鍑稿嚱鏁幫紝鎵浠ュ彲浠ョ敤涓夊垎娉曟眰鏋佸箋傜簿搴﹀疄鍦ㄥ緢铔嬬柤錛岃繖棰樿姹傚煎煙綺劇‘鍒?e-4錛屼絾鏄畾涔夊煙娌¤綺劇‘鍒板灝戯紝緇撴灉姝粀a錛屽崱鍒?e-10緇堜簬榪囦簡銆傘?/pre> <pre>璐翠唬鐮?/pre> <pre> <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"><span style="COLOR: #008080"> 1</span><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000"># include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">cstdio</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080"> 2</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"># include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">cmath</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080"> 3</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">namespace</span><span style="COLOR: #000000"> std;<br></span><span style="COLOR: #008080"> 4</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> n;<br></span><span style="COLOR: #008080"> 5</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> data[</span><span style="COLOR: #000000">10001</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">3</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080"> 6</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"># define max(a,b) ((a)</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">(b)</span><span style="COLOR: #000000">?</span><span style="COLOR: #000000">(a):(b))<br></span><span style="COLOR: #008080"> 7</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> cal(</span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> mid)<br></span><span style="COLOR: #008080"> 8</span><span style="COLOR: #000000"><img id=Codehighlighter1_144_270_Open_Image onclick="this.style.display='none'; Codehighlighter1_144_270_Open_Text.style.display='none'; Codehighlighter1_144_270_Closed_Image.style.display='inline'; Codehighlighter1_144_270_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_144_270_Closed_Image onclick="this.style.display='none'; Codehighlighter1_144_270_Closed_Text.style.display='none'; Codehighlighter1_144_270_Open_Image.style.display='inline'; Codehighlighter1_144_270_Open_Text.style.display='inline';" align=top src="http://m.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_144_270_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_144_270_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080"> 9</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">   </span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> res</span><span style="COLOR: #000000">=-</span><span style="COLOR: #000000">1e26;<br></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">   </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">0</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">     res</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">max(res,data[i][</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">mid</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">mid</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">data[i][</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">mid</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">data[i][</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">]);<br></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">   </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> res;<br></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif">}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> main()<br></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img id=Codehighlighter1_283_743_Open_Image onclick="this.style.display='none'; Codehighlighter1_283_743_Open_Text.style.display='none'; Codehighlighter1_283_743_Closed_Image.style.display='inline'; Codehighlighter1_283_743_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_283_743_Closed_Image onclick="this.style.display='none'; Codehighlighter1_283_743_Closed_Text.style.display='none'; Codehighlighter1_283_743_Open_Image.style.display='inline'; Codehighlighter1_283_743_Open_Text.style.display='inline';" align=top src="http://m.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_283_743_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_283_743_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">16</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> test;<br></span><span style="COLOR: #008080">17</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    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">test);<br></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(test</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img id=Codehighlighter1_344_727_Open_Image onclick="this.style.display='none'; Codehighlighter1_344_727_Open_Text.style.display='none'; Codehighlighter1_344_727_Closed_Image.style.display='inline'; Codehighlighter1_344_727_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_344_727_Closed_Image onclick="this.style.display='none'; Codehighlighter1_344_727_Closed_Text.style.display='none'; Codehighlighter1_344_727_Open_Image.style.display='inline'; Codehighlighter1_344_727_Open_Text.style.display='inline';" align=top src="http://m.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_344_727_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_344_727_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       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></span><span style="COLOR: #008080">21</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       </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">0</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">         scanf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d%d%d</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">data[i][</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">],</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">data[i][</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">],</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000">data[i][</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">]);<br></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       </span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> s</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0.0</span><span style="COLOR: #000000">,e</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1000.0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       </span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> last</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">s;<br></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(fabs(e</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">s)</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">1e</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img id=Codehighlighter1_548_687_Open_Image onclick="this.style.display='none'; Codehighlighter1_548_687_Open_Text.style.display='none'; Codehighlighter1_548_687_Closed_Image.style.display='inline'; Codehighlighter1_548_687_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_548_687_Closed_Image onclick="this.style.display='none'; Codehighlighter1_548_687_Closed_Text.style.display='none'; Codehighlighter1_548_687_Open_Image.style.display='inline'; Codehighlighter1_548_687_Open_Text.style.display='inline';" align=top src="http://m.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_548_687_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_548_687_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       <br></span><span style="COLOR: #008080">28</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">         </span><span style="COLOR: #0000ff">double</span><span style="COLOR: #000000"> m1</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(s</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">e)</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">2.0</span><span style="COLOR: #000000">,m2</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(m1</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">e)</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">2.0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">         </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(cal(m1)</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">cal(m2))<br></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">           e</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">m2;<br></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">         </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"> <br></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">           s</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">m1;<br></span><span style="COLOR: #008080">33</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">       }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">34</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">       printf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%.4lf\n</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,cal(e));<br></span><span style="COLOR: #008080">35</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">    }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">36</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">37</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif">}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">38</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br></span><span style="COLOR: #008080">39</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> </pre> <img src ="http://m.shnenglu.com/yzhw/aggbug/133737.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/yzhw/" target="_blank">yzhw</a> 2010-11-16 00:50 <a href="http://m.shnenglu.com/yzhw/archive/2010/11/16/133737.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>pku 1727 Advanced Causal Measurements (ACM) 浜屽垎+璐績鍙鎬у垽鏂?/title><link>http://m.shnenglu.com/yzhw/archive/2010/10/20/130505.html</link><dc:creator>yzhw</dc:creator><author>yzhw</author><pubDate>Tue, 19 Oct 2010 16:36:00 GMT</pubDate><guid>http://m.shnenglu.com/yzhw/archive/2010/10/20/130505.html</guid><wfw:comment>http://m.shnenglu.com/yzhw/comments/130505.html</wfw:comment><comments>http://m.shnenglu.com/yzhw/archive/2010/10/20/130505.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/yzhw/comments/commentRss/130505.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/yzhw/services/trackbacks/130505.html</trackback:ping><description><![CDATA[棰樼洰璇寸殑鏈夌偣璇″紓錛屼竴寮濮嬫病鎯沖埌浜屽垎錛屾兂鐩存帴閫氳繃鍗婂鉤闈氦鏉ヨВ鎴栬呮槸綰挎ц鍒掋傘傘?br>鎻忚堪涓嬮鐩鉤闈笂鏈変竴浜涚偣錛坸,t錛夛紙棰樼洰涓弿榪扮殑鏄?t,x)錛岀劧鍚巘鏄旱鍧愭爣錛屾湁鐐逛笉鑸掓湇錛夛紝鐒跺悗婊¤凍t2 >= t1+|x2-x1|鐨勭偣錛坱1,x1錛夌О涓虹偣(x2,t2)鐨勫墠瀵肩偣銆傜幇鍦ㄧ煡閬撳鉤闈㈢偣闆嗕互鍙婂叾鍓嶅鐐圭殑涓暟錛岄棶鍏跺墠瀵肩偣闆嗕腑t鐨勬渶澶у箋?br>鏍規嵁涓嶇瓑寮忥紝鍙互鍙戠幇姣忎釜鐐圭殑鍓嶅鐐歸泦鑼冨洿鏄竴涓互璇ョ偣涓洪《鐐圭殑涓夎褰㈠尯鍩燂紙鏍規嵁涓嶇瓑寮忕害鏉熺敾涓浘鐪嬬湅灝辨槑鐧戒簡錛夛紝鐒跺悗鍙互閫氳繃浜屽垎姹傚緱t錛屽叧浜庡垽鏂綋鍓峵鐨勫彲琛屾э紝灝嗘瘡涓偣琛ㄧず涓哄悎娉曞尯闂碵x2-(t2-t1),x2+t2-t1]錛岀劧鍚庢眰榪欎簺鍖洪棿鐨勬渶灝忚鐩栨暟錛堝氨鏄眰寰椾竴浜涘瓙鍖洪棿錛屼嬌寰楄繖浜涘瓙鍖洪棿鍖呭惈浜庡師鍖洪棿錛夈傝繖涓棶棰樺彲浠ラ氳繃璐績綆楁硶錛屼互鍖洪棿鍙崇鐐逛負絎竴鍏抽敭瀛楋紝宸︾鐐逛負絎簩鍏抽敭瀛楄繘琛屾帓搴忥紝鐒跺悗姣忔璐績鐨勯夋嫨褰撳墠鍖洪棿鐨勫彸绔偣浣滀負瀛愬尯闂達紝緇熻瑕佸鍑哄叏閮ㄥ尯闂撮渶瑕佸瓙鍖洪棿鐨勪釜鏁皀um銆?br>浠g爜濡備笅錛?br> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #008080;"> 1</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.</span><span style="color: #000000;">*</span><span style="color: #000000;">;<br></span><span style="color: #008080;"> 2</span> <span style="color: #000000;"></span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Arrays;<br></span><span style="color: #008080;"> 3</span> <span style="color: #000000;"></span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">class</span><span style="color: #000000;"> Main {<br></span><span style="color: #008080;"> 4</span> <span style="color: #000000;"><br></span><span style="color: #008080;"> 5</span> <span style="color: #000000;">    </span><span style="color: #008000;">/**</span><span style="color: #008000;"><br></span><span style="color: #008080;"> 6</span> <span style="color: #008000;">     * </span><span style="color: #808080;">@param</span><span style="color: #008000;"> args<br></span><span style="color: #008080;"> 7</span> <span style="color: #008000;">     </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br></span><span style="color: #008080;"> 8</span> <span style="color: #000000;">    </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> StreamTokenizer in</span><span style="color: #000000;">=</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> StreamTokenizer(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> BufferedReader(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> InputStreamReader(System.in)));<br></span><span style="color: #008080;"> 9</span> <span style="color: #000000;">    </span><span style="color: #008000;">//</span><span style="color: #008000;">static StreamTokenizer in=new StreamTokenizer(new BufferedReader(new InputStreamReader(new FileInputStream("input.txt"))));</span><span style="color: #008000;"><br></span><span style="color: #008080;">10</span> <span style="color: #008000;"></span><span style="color: #000000;">    </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">final</span><span style="color: #000000;"> </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> readInt() </span><span style="color: #0000ff;">throws</span><span style="color: #000000;"> Exception<br></span><span style="color: #008080;">11</span> <span style="color: #000000;">    {<br></span><span style="color: #008080;">12</span> <span style="color: #000000;">        in.nextToken();<br></span><span style="color: #008080;">13</span> <span style="color: #000000;">        </span><span style="color: #0000ff;">return</span><span style="color: #000000;"> (</span><span style="color: #0000ff;">int</span><span style="color: #000000;">)in.nval;<br></span><span style="color: #008080;">14</span> <span style="color: #000000;">    }<br></span><span style="color: #008080;">15</span> <span style="color: #000000;">    </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">class</span><span style="color: #000000;"> node </span><span style="color: #0000ff;">implements</span><span style="color: #000000;"> Comparable</span><span style="color: #000000;"><</span><span style="color: #000000;">node</span><span style="color: #000000;">></span><span style="color: #000000;"><br></span><span style="color: #008080;">16</span> <span style="color: #000000;">    {<br></span><span style="color: #008080;">17</span> <span style="color: #000000;">        </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> t,x,s,e;<br></span><span style="color: #008080;">18</span> <span style="color: #000000;">        </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> compareTo(node pos)<br></span><span style="color: #008080;">19</span> <span style="color: #000000;">        {<br></span><span style="color: #008080;">20</span> <span style="color: #000000;">            </span><span style="color: #0000ff;">if</span><span style="color: #000000;">(e</span><span style="color: #000000;">!=</span><span style="color: #000000;">pos.e) </span><span style="color: #0000ff;">return</span><span style="color: #000000;"> e</span><span style="color: #000000;">-</span><span style="color: #000000;">pos.e;<br></span><span style="color: #008080;">21</span> <span style="color: #000000;">            </span><span style="color: #0000ff;">else</span><span style="color: #000000;"> </span><span style="color: #0000ff;">return</span><span style="color: #000000;"> s</span><span style="color: #000000;">-</span><span style="color: #000000;">pos.s;<br></span><span style="color: #008080;">22</span> <span style="color: #000000;">        }<br></span><span style="color: #008080;">23</span> <span style="color: #000000;">    }<br></span><span style="color: #008080;">24</span> <span style="color: #000000;">    </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> node data[]</span><span style="color: #000000;">=</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> node[</span><span style="color: #000000;">100005</span><span style="color: #000000;">];<br></span><span style="color: #008080;">25</span> <span style="color: #000000;">    </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> main(String[] args) </span><span style="color: #0000ff;">throws</span><span style="color: #000000;"> Exception{<br></span><span style="color: #008080;">26</span> <span style="color: #000000;">        </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> n</span><span style="color: #000000;">=</span><span style="color: #000000;">readInt();<br></span><span style="color: #008080;">27</span> <span style="color: #000000;">        </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;">0</span><span style="color: #000000;">;i</span><span style="color: #000000;"><</span><span style="color: #000000;">100005</span><span style="color: #000000;">;i</span><span style="color: #000000;">++</span><span style="color: #000000;">)<br></span><span style="color: #008080;">28</span> <span style="color: #000000;">            data[i]</span><span style="color: #000000;">=</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> node();<br></span><span style="color: #008080;">29</span> <span style="color: #000000;">        </span><span style="color: #0000ff;">for</span><span style="color: #000000;">(</span><span style="color: #0000ff;">int</span><span style="color: #000000;"> test</span><span style="color: #000000;">=</span><span style="color: #000000;">1</span><span style="color: #000000;">;test</span><span style="color: #000000;"><=</span><span style="color: #000000;">n;test</span><span style="color: #000000;">++</span><span style="color: #000000;">)<br></span><span style="color: #008080;">30</span> <span style="color: #000000;">        {<br></span><span style="color: #008080;">31</span> <span style="color: #000000;">            </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> num</span><span style="color: #000000;">=</span><span style="color: #000000;">readInt(),limit</span><span style="color: #000000;">=</span><span style="color: #000000;">readInt(),e</span><span style="color: #000000;">=</span><span style="color: #000000;">4000000</span><span style="color: #000000;">,s</span><span style="color: #000000;">=-</span><span style="color: #000000;">4000000</span><span style="color: #000000;">;<br></span><span style="color: #008080;">32</span> <span style="color: #000000;">            </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;">0</span><span style="color: #000000;">;i</span><span style="color: #000000;"><</span><span style="color: #000000;">num;i</span><span style="color: #000000;">++</span><span style="color: #000000;">)<br></span><span style="color: #008080;">33</span> <span style="color: #000000;">            {<br></span><span style="color: #008080;">34</span> <span style="color: #000000;">                data[i].t</span><span style="color: #000000;">=</span><span style="color: #000000;">readInt();<br></span><span style="color: #008080;">35</span> <span style="color: #000000;">                data[i].x</span><span style="color: #000000;">=</span><span style="color: #000000;">readInt();<br></span><span style="color: #008080;">36</span> <span style="color: #000000;">                e</span><span style="color: #000000;">=</span><span style="color: #000000;">Math.min(e, data[i].t);<br></span><span style="color: #008080;">37</span> <span style="color: #000000;">            }<br></span><span style="color: #008080;">38</span> <span style="color: #000000;">            </span><span style="color: #0000ff;">while</span><span style="color: #000000;">(s</span><span style="color: #000000;"><=</span><span style="color: #000000;">e)<br></span><span style="color: #008080;">39</span> <span style="color: #000000;">            {<br></span><span style="color: #008080;">40</span> <span style="color: #000000;">                </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> mid</span><span style="color: #000000;">=</span><span style="color: #000000;">(s</span><span style="color: #000000;">+</span><span style="color: #000000;">e)</span><span style="color: #000000;">>></span><span style="color: #000000;">1</span><span style="color: #000000;">,count</span><span style="color: #000000;">=</span><span style="color: #000000;">1</span><span style="color: #000000;">;<br></span><span style="color: #008080;">41</span> <span style="color: #000000;">                </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;">0</span><span style="color: #000000;">;i</span><span style="color: #000000;"><</span><span style="color: #000000;">num;i</span><span style="color: #000000;">++</span><span style="color: #000000;">)<br></span><span style="color: #008080;">42</span> <span style="color: #000000;">                {<br></span><span style="color: #008080;">43</span> <span style="color: #000000;">                    data[i].s</span><span style="color: #000000;">=</span><span style="color: #000000;">data[i].x</span><span style="color: #000000;">-</span><span style="color: #000000;">data[i].t</span><span style="color: #000000;">+</span><span style="color: #000000;">mid;<br></span><span style="color: #008080;">44</span> <span style="color: #000000;">                    data[i].e</span><span style="color: #000000;">=</span><span style="color: #000000;">data[i].x</span><span style="color: #000000;">+</span><span style="color: #000000;">data[i].t</span><span style="color: #000000;">-</span><span style="color: #000000;">mid;<br></span><span style="color: #008080;">45</span> <span style="color: #000000;">                }<br></span><span style="color: #008080;">46</span> <span style="color: #000000;">                <br></span><span style="color: #008080;">47</span> <span style="color: #000000;">                Arrays.sort(data,</span><span style="color: #000000;">0</span><span style="color: #000000;">,num);<br></span><span style="color: #008080;">48</span> <span style="color: #000000;">                </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> laste</span><span style="color: #000000;">=</span><span style="color: #000000;">data[</span><span style="color: #000000;">0</span><span style="color: #000000;">].e;<br></span><span style="color: #008080;">49</span> <span style="color: #000000;">                </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;">1</span><span style="color: #000000;">;i</span><span style="color: #000000;"><</span><span style="color: #000000;">num;i</span><span style="color: #000000;">++</span><span style="color: #000000;">)<br></span><span style="color: #008080;">50</span> <span style="color: #000000;">                    </span><span style="color: #0000ff;">if</span><span style="color: #000000;">(data[i].s</span><span style="color: #000000;"><=</span><span style="color: #000000;">laste)<br></span><span style="color: #008080;">51</span> <span style="color: #000000;">                        </span><span style="color: #0000ff;">continue</span><span style="color: #000000;">;<br></span><span style="color: #008080;">52</span> <span style="color: #000000;">                    </span><span style="color: #0000ff;">else</span><span style="color: #000000;"><br></span><span style="color: #008080;">53</span> <span style="color: #000000;">                    {<br></span><span style="color: #008080;">54</span> <span style="color: #000000;">                        count</span><span style="color: #000000;">++</span><span style="color: #000000;">;<br></span><span style="color: #008080;">55</span> <span style="color: #000000;">                        laste</span><span style="color: #000000;">=</span><span style="color: #000000;">data[i].e;<br></span><span style="color: #008080;">56</span> <span style="color: #000000;">                    }<br></span><span style="color: #008080;">57</span> <span style="color: #000000;">                </span><span style="color: #0000ff;">if</span><span style="color: #000000;">(count</span><span style="color: #000000;"><=</span><span style="color: #000000;">limit)<br></span><span style="color: #008080;">58</span> <span style="color: #000000;">                    s</span><span style="color: #000000;">=</span><span style="color: #000000;">mid</span><span style="color: #000000;">+</span><span style="color: #000000;">1</span><span style="color: #000000;">;<br></span><span style="color: #008080;">59</span> <span style="color: #000000;">                </span><span style="color: #0000ff;">else</span><span style="color: #000000;"><br></span><span style="color: #008080;">60</span> <span style="color: #000000;">                    e</span><span style="color: #000000;">=</span><span style="color: #000000;">mid</span><span style="color: #000000;">-</span><span style="color: #000000;">1</span><span style="color: #000000;">;<br></span><span style="color: #008080;">61</span> <span style="color: #000000;">            }<br></span><span style="color: #008080;">62</span> <span style="color: #000000;">            System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">Case </span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;">test</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;">e);            <br></span><span style="color: #008080;">63</span> <span style="color: #000000;">        }<br></span><span style="color: #008080;">64</span> <span style="color: #000000;"><br></span><span style="color: #008080;">65</span> <span style="color: #000000;">    }<br></span><span style="color: #008080;">66</span> <span style="color: #000000;"><br></span><span style="color: #008080;">67</span> <span style="color: #000000;">}<br></span><span style="color: #008080;">68</span> <span style="color: #000000;"></span></div> <br><img src ="http://m.shnenglu.com/yzhw/aggbug/130505.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/yzhw/" target="_blank">yzhw</a> 2010-10-20 00:36 <a href="http://m.shnenglu.com/yzhw/archive/2010/10/20/130505.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>pku 1176 Party Lampshttp://m.shnenglu.com/yzhw/archive/2010/10/19/130434.htmlyzhwyzhwTue, 19 Oct 2010 06:17:00 GMThttp://m.shnenglu.com/yzhw/archive/2010/10/19/130434.htmlhttp://m.shnenglu.com/yzhw/comments/130434.htmlhttp://m.shnenglu.com/yzhw/archive/2010/10/19/130434.html#Feedback0http://m.shnenglu.com/yzhw/comments/commentRss/130434.htmlhttp://m.shnenglu.com/yzhw/services/trackbacks/130434.html闃呰鍏ㄦ枃

yzhw 2010-10-19 14:17 鍙戣〃璇勮
]]>
pku 1855 Mint 姹?涓暟鐨勬渶灝忓叕鍊嶆暟錛屾鍑犻噷寰楃畻娉?/title><link>http://m.shnenglu.com/yzhw/archive/2010/10/12/129663.html</link><dc:creator>yzhw</dc:creator><author>yzhw</author><pubDate>Tue, 12 Oct 2010 15:01:00 GMT</pubDate><guid>http://m.shnenglu.com/yzhw/archive/2010/10/12/129663.html</guid><wfw:comment>http://m.shnenglu.com/yzhw/comments/129663.html</wfw:comment><comments>http://m.shnenglu.com/yzhw/archive/2010/10/12/129663.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/yzhw/comments/commentRss/129663.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/yzhw/services/trackbacks/129663.html</trackback:ping><description><![CDATA[棰樼洰寰堥暱錛屽氨鏄鐢ㄤ粠n縐嶇‖甯佷腑閫夊彇4縐嶄笉鍚岀殑紜竵鍫嗗彔璧鋒潵錛屼綔涓烘瀛愮殑鍥涗釜鑵匡紝鏄劇劧錛屾瀛愮殑鍥涗釜鑵胯鐩哥瓑銆傞棶瀵逛簬涓涓粰瀹氱殑楂樺害h錛岀‖甯佽兘澶熷爢鎴愮殑涓嶅ぇ浜巋鐨勬渶澶ч珮搴﹀拰涓嶅皬浜巋鐨勬渶灝忛珮搴﹀垎鍒負澶氬皯錛?br>搴斾負鏁版嵁涓嶅ぇ錛?n涓?0宸﹀彸錛屽彲浠ョ敤4涓猣or寰幆鏉ユ灇涓劇‖甯侊紝鍋囪鍥涚紜竵涓篴銆乥銆乧銆乨錛屾眰鐨勮繖鍥涗釜鏁扮殑鏈灝忓叕鍊嶆暟鍗沖彲錛岀劧鍚庡氨鐢ㄦ鍑犻噷寰楃畻娉曡В鍐熾?br> <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"><span style="COLOR: #008080"> 1</span><img id=Codehighlighter1_0_105_Open_Image onclick="this.style.display='none'; Codehighlighter1_0_105_Open_Text.style.display='none'; Codehighlighter1_0_105_Closed_Image.style.display='inline'; Codehighlighter1_0_105_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_0_105_Closed_Image onclick="this.style.display='none'; Codehighlighter1_0_105_Closed_Text.style.display='none'; Codehighlighter1_0_105_Open_Image.style.display='inline'; Codehighlighter1_0_105_Open_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif"><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_0_105_Closed_Text>/**/</span><span id=Codehighlighter1_0_105_Open_Text><span style="COLOR: #008000">/*</span><span style="COLOR: #008000"><br></span><span style="COLOR: #008080"> 2</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">Source Code<br></span><span style="COLOR: #008080"> 3</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080"> 4</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">Problem: 1855  User: yzhw <br></span><span style="COLOR: #008080"> 5</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">Memory: 8648K  Time: 313MS <br></span><span style="COLOR: #008080"> 6</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">Language: G++  Result: Accepted <br></span><span style="COLOR: #008080"> 7</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif"></span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080"> 8</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br></span><span style="COLOR: #008080"> 9</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"># include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">iostream</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"># include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">cstdio</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">namespace</span><span style="COLOR: #000000"> std;<br></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> l[</span><span style="COLOR: #000000">51</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> refer[</span><span style="COLOR: #000000">51</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">51</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">51</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">51</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> gcd(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a,</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> b)<br></span><span style="COLOR: #008080">16</span><span style="COLOR: #000000"><img id=Codehighlighter1_229_285_Open_Image onclick="this.style.display='none'; Codehighlighter1_229_285_Open_Text.style.display='none'; Codehighlighter1_229_285_Closed_Image.style.display='inline'; Codehighlighter1_229_285_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_229_285_Closed_Image onclick="this.style.display='none'; Codehighlighter1_229_285_Closed_Text.style.display='none'; Codehighlighter1_229_285_Open_Image.style.display='inline'; Codehighlighter1_229_285_Open_Text.style.display='inline';" align=top src="http://m.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_229_285_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_229_285_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">17</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(b)<br></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img id=Codehighlighter1_242_272_Open_Image onclick="this.style.display='none'; Codehighlighter1_242_272_Open_Text.style.display='none'; Codehighlighter1_242_272_Closed_Image.style.display='inline'; Codehighlighter1_242_272_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_242_272_Closed_Image onclick="this.style.display='none'; Codehighlighter1_242_272_Closed_Text.style.display='none'; Codehighlighter1_242_272_Open_Image.style.display='inline'; Codehighlighter1_242_272_Open_Text.style.display='inline';" align=top src="http://m.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_242_272_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_242_272_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> t</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">b;<br></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        a</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">b;<br></span><span style="COLOR: #008080">21</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        b</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">t;<br></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">    }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> a;<br></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif">}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> main()<br></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img id=Codehighlighter1_298_1294_Open_Image onclick="this.style.display='none'; Codehighlighter1_298_1294_Open_Text.style.display='none'; Codehighlighter1_298_1294_Closed_Image.style.display='inline'; Codehighlighter1_298_1294_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_298_1294_Closed_Image onclick="this.style.display='none'; Codehighlighter1_298_1294_Closed_Text.style.display='none'; Codehighlighter1_298_1294_Open_Image.style.display='inline'; Codehighlighter1_298_1294_Open_Text.style.display='inline';" align=top src="http://m.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_298_1294_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_298_1294_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> n,t;<br></span><span style="COLOR: #008080">28</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">true</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img id=Codehighlighter1_324_1281_Open_Image onclick="this.style.display='none'; Codehighlighter1_324_1281_Open_Text.style.display='none'; Codehighlighter1_324_1281_Closed_Image.style.display='inline'; Codehighlighter1_324_1281_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_324_1281_Closed_Image onclick="this.style.display='none'; Codehighlighter1_324_1281_Closed_Text.style.display='none'; Codehighlighter1_324_1281_Open_Image.style.display='inline'; Codehighlighter1_324_1281_Open_Text.style.display='inline';" align=top src="http://m.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_324_1281_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_324_1281_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        scanf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d%d</span><span style="COLOR: #000000">"</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">t);<br></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">if</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">t) </span><span style="COLOR: #0000ff">break</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </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">0</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">33</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            scanf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,l</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">i);<br></span><span style="COLOR: #008080">34</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;a</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;a</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">35</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> b</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;b</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;b</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">36</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                    </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">if(a!=b)</span><span style="COLOR: #008000"><br></span><span style="COLOR: #008080">37</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"></span><span style="COLOR: #000000">                                    </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> c</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">b</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;c</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;c</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">38</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                        </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">if(a!=c&&b!=c)</span><span style="COLOR: #008000"><br></span><span style="COLOR: #008080">39</span><span style="COLOR: #008000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"></span><span style="COLOR: #000000">                                        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> d</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">c</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;d</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;d</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">40</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                            </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">if(a!=d&&b!=d&&c!=d)</span><span style="COLOR: #008000"><br></span><span style="COLOR: #008080">41</span><span style="COLOR: #008000"><img id=Codehighlighter1_623_795_Open_Image onclick="this.style.display='none'; Codehighlighter1_623_795_Open_Text.style.display='none'; Codehighlighter1_623_795_Closed_Image.style.display='inline'; Codehighlighter1_623_795_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_623_795_Closed_Image onclick="this.style.display='none'; Codehighlighter1_623_795_Closed_Text.style.display='none'; Codehighlighter1_623_795_Open_Image.style.display='inline'; Codehighlighter1_623_795_Open_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="COLOR: #000000">                                            </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_623_795_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_623_795_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">42</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                                </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> lcd1</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">l[a]</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">l[b]</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">gcd(l[a],l[b]),lcd2</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">l[c]</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">l[d]</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">gcd(l[c],l[d]);<br></span><span style="COLOR: #008080">43</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                                </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> lcd</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">lcd1</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">lcd2</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">gcd(lcd1,lcd2);<br></span><span style="COLOR: #008080">44</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                                refer[a][b][c][d]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">lcd;<br></span><span style="COLOR: #008080">45</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">46</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                                            }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">47</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">48</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(t</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">49</span><span style="COLOR: #000000"><img id=Codehighlighter1_813_1278_Open_Image onclick="this.style.display='none'; Codehighlighter1_813_1278_Open_Text.style.display='none'; Codehighlighter1_813_1278_Closed_Image.style.display='inline'; Codehighlighter1_813_1278_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_813_1278_Closed_Image onclick="this.style.display='none'; Codehighlighter1_813_1278_Closed_Text.style.display='none'; Codehighlighter1_813_1278_Open_Image.style.display='inline'; Codehighlighter1_813_1278_Open_Text.style.display='inline';" align=top src="http://m.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_813_1278_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_813_1278_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">50</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> minnum</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0xfffffff</span><span style="COLOR: #000000">,maxnum</span><span style="COLOR: #000000">=-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">51</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> pos;<br></span><span style="COLOR: #008080">52</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            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">pos);<br></span><span style="COLOR: #008080">53</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;a</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;a</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">54</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> b</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">a</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;b</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;b</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">55</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                    </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> c</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">b</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;c</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;c</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">56</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> d</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">c</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;d</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;d</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">57</span><span style="COLOR: #000000"><img id=Codehighlighter1_998_1237_Open_Image onclick="this.style.display='none'; Codehighlighter1_998_1237_Open_Text.style.display='none'; Codehighlighter1_998_1237_Closed_Image.style.display='inline'; Codehighlighter1_998_1237_Closed_Text.style.display='inline';" align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_998_1237_Closed_Image onclick="this.style.display='none'; Codehighlighter1_998_1237_Closed_Text.style.display='none'; Codehighlighter1_998_1237_Open_Image.style.display='inline'; Codehighlighter1_998_1237_Open_Text.style.display='inline';" align=top src="http://m.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_998_1237_Closed_Text><img src="http://m.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_998_1237_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">58</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">59</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> lcd</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">refer[a][b][c][d];<br></span><span style="COLOR: #008080">60</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(pos</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">pos</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">maxnum)<br></span><span style="COLOR: #008080">61</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                    maxnum</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">pos</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">pos</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">lcd;<br></span><span style="COLOR: #008080">62</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(pos</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">&&</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">(pos</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">minnum)<br></span><span style="COLOR: #008080">63</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                    minnum</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">(pos</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">);<br></span><span style="COLOR: #008080">64</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(pos</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">lcd</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">&&</span><span style="COLOR: #000000">pos</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">minnum)<br></span><span style="COLOR: #008080">65</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                    minnum</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">pos;<br></span><span style="COLOR: #008080">66</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">67</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                            }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">68</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">            printf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d %d\n</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,maxnum,minnum);<br></span><span style="COLOR: #008080">69</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">        }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">70</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">    }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">71</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/InBlock.gif">    </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">72</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif">}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">73</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br></span><span style="COLOR: #008080">74</span><span style="COLOR: #000000"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> <img src ="http://m.shnenglu.com/yzhw/aggbug/129663.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/yzhw/" target="_blank">yzhw</a> 2010-10-12 23:01 <a href="http://m.shnenglu.com/yzhw/archive/2010/10/12/129663.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <a href="http://m.shnenglu.com/">青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品</a> <div style="position:fixed;left:-9000px;top:-9000px;"><font id="pjuwb"></font><button id="pjuwb"><pre id="pjuwb"></pre></button><sub id="pjuwb"></sub><tbody id="pjuwb"><var id="pjuwb"><address id="pjuwb"></address></var></tbody><listing id="pjuwb"><label id="pjuwb"><strong id="pjuwb"></strong></label></listing><wbr id="pjuwb"><small id="pjuwb"><tbody id="pjuwb"></tbody></small></wbr><ins id="pjuwb"><xmp id="pjuwb"></xmp></ins><style id="pjuwb"></style><label id="pjuwb"><em id="pjuwb"><li id="pjuwb"></li></em></label><samp id="pjuwb"></samp><menu id="pjuwb"><input id="pjuwb"></input></menu><pre id="pjuwb"><tbody id="pjuwb"><tfoot id="pjuwb"><button id="pjuwb"></button></tfoot></tbody></pre><form id="pjuwb"></form><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"><sup id="pjuwb"></sup></label></style></i><li id="pjuwb"><table id="pjuwb"><abbr id="pjuwb"></abbr></table></li><video id="pjuwb"></video><dfn id="pjuwb"></dfn><progress id="pjuwb"></progress><strong id="pjuwb"></strong><mark id="pjuwb"></mark><em id="pjuwb"></em><tbody id="pjuwb"><p id="pjuwb"><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike></p></tbody><option id="pjuwb"></option><strike id="pjuwb"></strike><u id="pjuwb"></u><td id="pjuwb"><center id="pjuwb"><tr id="pjuwb"></tr></center></td><em id="pjuwb"><mark id="pjuwb"><em id="pjuwb"><tt id="pjuwb"></tt></em></mark></em><strong id="pjuwb"></strong><wbr id="pjuwb"></wbr><s id="pjuwb"></s><strong id="pjuwb"></strong><legend id="pjuwb"></legend><nav id="pjuwb"></nav><dl id="pjuwb"><th id="pjuwb"><dl id="pjuwb"></dl></th></dl><noframes id="pjuwb"><ins id="pjuwb"></ins></noframes><font id="pjuwb"></font><strike id="pjuwb"><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"></label></style></i></strike><output id="pjuwb"></output><thead id="pjuwb"><pre id="pjuwb"></pre></thead><source id="pjuwb"></source><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem><pre id="pjuwb"><span id="pjuwb"><pre id="pjuwb"><big id="pjuwb"></big></pre></span></pre><cite id="pjuwb"><fieldset id="pjuwb"><s id="pjuwb"><rt id="pjuwb"></rt></s></fieldset></cite><big id="pjuwb"><progress id="pjuwb"><big id="pjuwb"></big></progress></big><samp id="pjuwb"><delect id="pjuwb"></delect></samp><dl id="pjuwb"></dl><strike id="pjuwb"><nav id="pjuwb"><dl id="pjuwb"><strong id="pjuwb"></strong></dl></nav></strike><tbody id="pjuwb"><b id="pjuwb"><optgroup id="pjuwb"><rp id="pjuwb"></rp></optgroup></b></tbody><em id="pjuwb"></em><xmp id="pjuwb"><blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote></xmp> <i id="pjuwb"><abbr id="pjuwb"><i id="pjuwb"><abbr id="pjuwb"></abbr></i></abbr></i><center id="pjuwb"><acronym id="pjuwb"><center id="pjuwb"></center></acronym></center><pre id="pjuwb"></pre><ul id="pjuwb"><thead id="pjuwb"></thead></ul><blockquote id="pjuwb"><pre id="pjuwb"><sup id="pjuwb"></sup></pre></blockquote><acronym id="pjuwb"></acronym><big id="pjuwb"><s id="pjuwb"></s></big><th id="pjuwb"></th><th id="pjuwb"></th><tbody id="pjuwb"></tbody><thead id="pjuwb"><strike id="pjuwb"></strike></thead><th id="pjuwb"><dl id="pjuwb"><wbr id="pjuwb"></wbr></dl></th><dl id="pjuwb"><strong id="pjuwb"></strong></dl><abbr id="pjuwb"><noframes id="pjuwb"><noscript id="pjuwb"></noscript></noframes></abbr><td id="pjuwb"><ol id="pjuwb"></ol></td><li id="pjuwb"><noscript id="pjuwb"><abbr id="pjuwb"></abbr></noscript></li><small id="pjuwb"><bdo id="pjuwb"><nav id="pjuwb"></nav></bdo></small><style id="pjuwb"></style><optgroup id="pjuwb"><table id="pjuwb"></table></optgroup><center id="pjuwb"><tr id="pjuwb"><dfn id="pjuwb"></dfn></tr></center><th id="pjuwb"></th><u id="pjuwb"></u><tfoot id="pjuwb"><legend id="pjuwb"><i id="pjuwb"></i></legend></tfoot><mark id="pjuwb"></mark><meter id="pjuwb"></meter><nav id="pjuwb"></nav><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><nobr id="pjuwb"></nobr><sub id="pjuwb"><th id="pjuwb"><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem></th></sub><thead id="pjuwb"><sub id="pjuwb"></sub></thead><ul id="pjuwb"><address id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></address></ul><dfn id="pjuwb"></dfn><pre id="pjuwb"></pre><input id="pjuwb"><cite id="pjuwb"><fieldset id="pjuwb"></fieldset></cite></input><u id="pjuwb"><form id="pjuwb"><u id="pjuwb"></u></form></u><kbd id="pjuwb"><em id="pjuwb"><mark id="pjuwb"></mark></em></kbd><tr id="pjuwb"></tr><del id="pjuwb"><form id="pjuwb"><address id="pjuwb"></address></form></del><tfoot id="pjuwb"><legend id="pjuwb"><ol id="pjuwb"><dl id="pjuwb"></dl></ol></legend></tfoot><menu id="pjuwb"><nobr id="pjuwb"><th id="pjuwb"><nobr id="pjuwb"></nobr></th></nobr></menu><fieldset id="pjuwb"></fieldset><pre id="pjuwb"><blockquote id="pjuwb"><samp id="pjuwb"></samp></blockquote></pre><xmp id="pjuwb"><sup id="pjuwb"><pre id="pjuwb"></pre></sup></xmp><span id="pjuwb"><progress id="pjuwb"></progress></span><font id="pjuwb"></font><var id="pjuwb"><abbr id="pjuwb"></abbr></var><strong id="pjuwb"><label id="pjuwb"><i id="pjuwb"><legend id="pjuwb"></legend></i></label></strong><tr id="pjuwb"><em id="pjuwb"><em id="pjuwb"><output id="pjuwb"></output></em></em></tr><thead id="pjuwb"><strike id="pjuwb"></strike></thead> <acronym id="pjuwb"></acronym><i id="pjuwb"></i><tt id="pjuwb"></tt><rt id="pjuwb"><source id="pjuwb"><rt id="pjuwb"></rt></source></rt><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike><del id="pjuwb"></del><font id="pjuwb"><output id="pjuwb"><ins id="pjuwb"><output id="pjuwb"></output></ins></output></font><kbd id="pjuwb"><tr id="pjuwb"><kbd id="pjuwb"></kbd></tr></kbd><pre id="pjuwb"><sup id="pjuwb"><delect id="pjuwb"><samp id="pjuwb"></samp></delect></sup></pre><samp id="pjuwb"></samp><track id="pjuwb"></track><tr id="pjuwb"></tr><center id="pjuwb"></center><fieldset id="pjuwb"></fieldset><i id="pjuwb"></i><td id="pjuwb"></td><rt id="pjuwb"></rt><object id="pjuwb"></object><pre id="pjuwb"><progress id="pjuwb"><sub id="pjuwb"><thead id="pjuwb"></thead></sub></progress></pre><kbd id="pjuwb"><tr id="pjuwb"><option id="pjuwb"></option></tr></kbd><output id="pjuwb"><ins id="pjuwb"></ins></output><ol id="pjuwb"></ol><source id="pjuwb"></source><strong id="pjuwb"></strong><ruby id="pjuwb"></ruby><sub id="pjuwb"><meter id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></meter></sub><pre id="pjuwb"></pre><center id="pjuwb"></center><tr id="pjuwb"><tbody id="pjuwb"><xmp id="pjuwb"><dd id="pjuwb"></dd></xmp></tbody></tr><video id="pjuwb"></video><pre id="pjuwb"></pre><form id="pjuwb"><optgroup id="pjuwb"></optgroup></form><samp id="pjuwb"></samp><kbd id="pjuwb"></kbd><strong id="pjuwb"><option id="pjuwb"></option></strong><object id="pjuwb"></object><abbr id="pjuwb"><noframes id="pjuwb"><abbr id="pjuwb"></abbr></noframes></abbr><ul id="pjuwb"><del id="pjuwb"><button id="pjuwb"><pre id="pjuwb"></pre></button></del></ul><abbr id="pjuwb"></abbr><strong id="pjuwb"><code id="pjuwb"><strong id="pjuwb"></strong></code></strong><option id="pjuwb"></option><optgroup id="pjuwb"><bdo id="pjuwb"><code id="pjuwb"></code></bdo></optgroup><mark id="pjuwb"><em id="pjuwb"><font id="pjuwb"></font></em></mark><acronym id="pjuwb"><code id="pjuwb"></code></acronym><dl id="pjuwb"></dl><em id="pjuwb"></em><object id="pjuwb"><input id="pjuwb"><object id="pjuwb"></object></input></object><output id="pjuwb"><dd id="pjuwb"></dd></output><option id="pjuwb"><button id="pjuwb"><option id="pjuwb"></option></button></option><small id="pjuwb"></small></div> <a href="http://wanyoulipin.com" target="_blank">欧美性一二三区</a>| <a href="http://tzhsdy.com" target="_blank">亚洲精品美女免费</a>| <a href="http://012492.com" target="_blank">国产欧美日韩亚州综合</a>| <a href="http://22241com.com" target="_blank">欧美日韩一区二区三区四区五区</a>| <a href="http://zzchanke.com" target="_blank">欧美大片在线观看一区</a>| <a href="http://345fz.com" target="_blank">欧美精品www</a>| <a href="http://naturalgiftfashion.com" target="_blank">欧美区一区二区三区</a>| <a href="http://345fz.com" target="_blank">欧美日韩黄色大片</a>| <a href="http://goldure.com" target="_blank">国产精品美女久久久久久久</a>| <a href="http://www78778.com" target="_blank">国产美女精品视频免费观看</a>| <a href="http://yp8882.com" target="_blank">激情成人av在线</a>| <a href="http://ycgg008.com" target="_blank">亚洲伦理在线免费看</a>| <a href="http://17cao8.com" target="_blank">亚洲一区二区三区高清不卡</a>| <a href="http://p35cc.com" target="_blank">久久精品国亚洲</a>| <a href="http://jj8518.com" target="_blank">亚洲高清久久</a>| <a href="http://dxmdzz.com" target="_blank">亚洲欧美一区二区原创</a>| <a href="http://konwoosh.com" target="_blank">欧美亚洲免费高清在线观看</a>| <a href="http://www39pao.com" target="_blank">男人的天堂亚洲</a>| <a href="http://diyiao.com" target="_blank">国产精品午夜在线观看</a>| <a href="http://56lw.com" target="_blank">亚洲国产日韩欧美在线动漫</a>| <a href="http://bgflee.com" target="_blank">亚洲欧美日韩国产综合精品二区</a>| <a href="http://www1122fu.com" target="_blank">久久美女性网</a>| <a href="http://bby99.com" target="_blank">日韩天堂在线观看</a>| <a href="http://shiselol.com" target="_blank">欧美亚洲综合网</a>| <a href="http://bjjxgcsxy.com" target="_blank">欧美成人综合网站</a>| <a href="http://7811c.com" target="_blank">国产麻豆日韩</a>| <a href="http://817794.com" target="_blank">99精品国产一区二区青青牛奶</a>| <a href="http://cmtqd.com" target="_blank">欧美在线一区二区</a>| <a href="http://www369cf.com" target="_blank">亚洲国产综合视频在线观看</a>| <a href="http://www18bbav.com" target="_blank">亚洲小视频在线观看</a>| <a href="http://xkm663y.com" target="_blank">久久综合久久综合九色</a>| <a href="http://seqing9.com" target="_blank">国产精品电影在线观看</a>| <a href="http://aiqianfang.com" target="_blank">亚洲高清一区二</a>| <a href="http://www224558.com" target="_blank">欧美亚洲在线观看</a>| <a href="http://yujiaosanye.com" target="_blank">亚洲日本成人</a>| <a href="http://8bc3.com" target="_blank">牛牛精品成人免费视频</a>| <a href="http://669528.com" target="_blank">国产人成精品一区二区三</a>| <a href="http://077229.com" target="_blank">99国产精品国产精品毛片</a>| <a href="http://chuangke168.com" target="_blank">久久久久久欧美</a>| <a href="http://hbsmhy.com" target="_blank">欧美亚洲综合网</a>| <a href="http://avsemm.com" target="_blank">国产精品久久久久久久久</a>| <a href="http://wewe520.com" target="_blank">亚洲欧洲美洲综合色网</a>| <a href="http://zz9876.com" target="_blank">久久精选视频</a>| <a href="http://wb2014.com" target="_blank">亚洲自拍偷拍视频</a>| <a href="http://spyfaw.com" target="_blank">欧美日韩一区在线观看</a>| <a href="http://7485888.com" target="_blank">亚洲精品乱码久久久久</a>| <a href="http://caoav8.com" target="_blank">欧美不卡在线</a>| <a href="http://wslsp.com" target="_blank">久久一二三四</a>| <a href="http://zb557.com" target="_blank">久久精品国亚洲</a>| <a href="http://vvvv81.com" target="_blank">亚洲欧美国产77777</a>| <a href="http://asanny.com" target="_blank">99国产精品久久久久久久成人热</a>| <a href="http://spvicarb.com" target="_blank">亚洲综合欧美</a>| <a href="http://kanzhelu31.com" target="_blank">激情亚洲成人</a>| <a href="http://457745.com" target="_blank">亚洲欧洲一区二区三区在线观看 </a>| <a href="http://my1315.com" target="_blank">久久久精品午夜少妇</a>| <a href="http://66hhmm.com" target="_blank">国产亚洲精品久久飘花</a>| <a href="http://100736.com" target="_blank">欧美国产精品va在线观看</a>| <a href="http://8xfore.com" target="_blank">欧美日韩国产综合一区二区</a>| <a href="http://shenduzhongcao.com" target="_blank">欧美一二三区精品</a>| <a href="http://hbdxzx.com" target="_blank">欧美激情网友自拍</a>| <a href="http://cfqcgw.com" target="_blank">香蕉成人伊视频在线观看</a>| <a href="http://clgtzz.com" target="_blank">午夜视黄欧洲亚洲</a>| <a href="http://6399128.com" target="_blank">亚洲第一级黄色片</a>| <a href="http://94wr.com" target="_blank">9国产精品视频</a>| <a href="http://wawabt.com" target="_blank">国产亚洲精品v</a>| <a href="http://yada-jg.com" target="_blank">亚洲高清资源</a>| <a href="http://hakuihoso.com" target="_blank">激情亚洲网站</a>| <a href="http://136hao.com" target="_blank">亚洲主播在线</a>| <a href="http://shiselol.com" target="_blank">久久精品伊人</a>| <a href="http://y7y7s.com" target="_blank">国产一区二区三区直播精品电影 </a>| <a href="http://xingmaipet.com" target="_blank">韩国一区电影</a>| <a href="http://www72227.com" target="_blank">亚洲在线1234</a>| <a href="http://by21999.com" target="_blank">先锋亚洲精品</a>| <a href="http://569688.com" target="_blank">国产精品青草久久</a>| <a href="http://344230.com" target="_blank">欧美一级在线亚洲天堂</a>| <a href="http://6688se.com" target="_blank">久久久久久久999精品视频</a>| <a href="http://9876666.com" target="_blank">欧美一级艳片视频免费观看</a>| <a href="http://zhipiao998.com" target="_blank">国产精品xnxxcom</a>| <a href="http://hhh699.com" target="_blank">午夜精品区一区二区三</a>| <a href="http://htzhuanli.com" target="_blank">亚洲一区二区三区免费在线观看 </a>| <a href="http://81plas.com" target="_blank">欧美在线视频二区</a>| <a href="http://www-85489.com" target="_blank">亚洲一区二区三区精品在线</a>| <a href="http://580388.com" target="_blank">欧美日本在线观看</a>| <a href="http://shiyoudiban.com" target="_blank">一区二区三区精品</a>| <a href="http://h15h15.com" target="_blank">性高湖久久久久久久久</a>| <a href="http://77mcn.com" target="_blank">伊人久久av导航</a>| <a href="http://nachang5117.com" target="_blank">欧美二区乱c少妇</a>| <a href="http://lianjiemenye.com" target="_blank">亚洲人成网在线播放</a>| <a href="http://tonglijinshu.com" target="_blank">亚洲一二三区视频在线观看</a>| <a href="http://www-485050.com" target="_blank">国产精品嫩草久久久久</a>| <a href="http://322033.com" target="_blank">另类av一区二区</a>| <a href="http://016889.com" target="_blank">亚洲一区图片</a>| <a href="http://jxyptsw.com" target="_blank">亚洲日韩欧美视频</a>| <a href="http://ydy8.com" target="_blank">久久综合激情</a>| <a href="http://bmcshy.com" target="_blank">亚洲一区综合</a>| <a href="http://fuwu56.com" target="_blank">亚洲精品国产精品乱码不99按摩 </a>| <a href="http://788997.com" target="_blank">欧美亚洲一区二区三区</a>| <a href="http://www4455va.com" target="_blank">国色天香一区二区</a>| <a href="http://qimao360.com" target="_blank">欧美日韩情趣电影</a>| <a href="http://917729.com" target="_blank">六月婷婷一区</a>| <a href="http://lingshidu.com" target="_blank">亚洲男人第一网站</a>| <a href="http://456kp.com" target="_blank">亚洲国产一区二区a毛片</a>| <a href="http://by722777.com" target="_blank">欧美综合77777色婷婷</a>| <a href="http://3s3v.com" target="_blank">亚洲欧美日韩电影</a>| <a href="http://119552.com" target="_blank">中文在线不卡</a>| <a href="http://gg5gg.com" target="_blank">国产精品99久久99久久久二8</a>| <a href="http://hznaja.com" target="_blank">亚洲国产1区</a>| <a href="http://392294.com" target="_blank">红桃av永久久久</a>| <a href="http://0370city.com" target="_blank">欧美一级视频精品观看</a>| <a href="http://yyyy456.com" target="_blank">亚洲人成网站影音先锋播放</a>| <a href="http://simextec.com" target="_blank">亚洲成在线观看</a>| <a href="http://jiarenlady.com" target="_blank">看欧美日韩国产</a>| <a href="http://gmqgw.com" target="_blank">久久亚洲一区二区三区四区</a>| <a href="http://qvod777.com" target="_blank">欧美一区二区视频观看视频</a>| <a href="http://543199.com" target="_blank">性视频1819p久久</a>| <a href="http://www442222.com" target="_blank">亚洲男女自偷自拍图片另类</a>| <a href="http://058888e.com" target="_blank">亚洲性av在线</a>| <a href="http://xb989.com" target="_blank">欧美亚洲一区</a>| <a href="http://xilxx.com" target="_blank">欧美成人精品一区二区</a>| <a href="http://3b6f.com" target="_blank">亚洲激情在线激情</a>| <a href="http://2323nn.com" target="_blank">亚洲日本成人</a>| <a href="http://8x588.com" target="_blank">性欧美xxxx大乳国产app</a>| <a href="http://mengmujia.com" target="_blank">亚洲欧美日韩久久精品</a>| <a href="http://www668889.com" target="_blank">久久国产综合精品</a>| <a href="http://34ak.com" target="_blank">欧美成人小视频</a>| <a href="http://nmbgbc.com" target="_blank">欧美日韩亚洲综合在线</a>| <a href="http://858185gg.com" target="_blank">国产亚洲欧美一区</a>| <a href="http://777177c.com" target="_blank">91久久一区二区</a>| <a href="http://shruhan.com" target="_blank">亚洲女性喷水在线观看一区</a>| <a href="http://haochen072.com" target="_blank">久久久久国产免费免费</a>| <a href="http://www36633.com" target="_blank">亚洲国产成人在线</a>| <a href="http://xiyan88.com" target="_blank">亚洲影音先锋</a>| <a href="http://wwwwy9001.com" target="_blank">欧美日韩福利视频</a>| <a href="http://wu52vip.com" target="_blank">一区二区在线免费观看</a>| <a href="http://556626.com" target="_blank">亚洲主播在线</a>| <a href="http://nc04.com" target="_blank">91久久精品国产91久久性色tv</a>| <a href="http://aydsrmyy.com" target="_blank">亚洲午夜精品在线</a>| <a href="http://www87bbw.com" target="_blank">男同欧美伦乱</a>| <a href="http://sdmsjd.com" target="_blank">亚洲国产合集</a>| <a href="http://wwwzmcc1.com" target="_blank">免费黄网站欧美</a>| <a href="http://chengli88.com" target="_blank">亚洲欧美国产三级</a>| <a href="http://hhhh19.com" target="_blank">国产裸体写真av一区二区</a>| <a href="http://budanbao.com" target="_blank">一区二区三区日韩精品</a>| <a href="http://sepapapa8888.com" target="_blank">欧美成人一品</a>| <a href="http://avhai.com" target="_blank">免费成人黄色av</a>| <a href="http://hazymall.com" target="_blank">●精品国产综合乱码久久久久</a>| <a href="http://weixiao668.com" target="_blank">欧美一区二区三区免费在线看</a>| <a href="http://www92y.com" target="_blank">99视频精品在线</a>| <a href="http://xccp4888.com" target="_blank">欧美激情影音先锋</a>| <a href="http://www9ckk1.com" target="_blank">亚洲作爱视频</a>| <a href="http://yymh1056.com" target="_blank">亚洲午夜高清视频</a>| <a href="http://hernameplz.com" target="_blank">国产私拍一区</a>| <a href="http://musicshq.com" target="_blank">午夜综合激情</a>| <a href="http://25axxa.com" target="_blank">欧美一级片在线播放</a>| <a href="http://jx963.com" target="_blank">国产一区二区三区在线观看视频</a>| <a href="http://xian369.com" target="_blank">欧美一区二区三区在</a>| <a href="http://yyds16.com" target="_blank">欧美与黑人午夜性猛交久久久</a>| <a href="http://160160160.com" target="_blank">国产欧美日本</a>| <a href="http://emu160.com" target="_blank">欧美风情在线</a>| <a href="http://wansilv.com" target="_blank">欧美日韩在线视频观看</a>| <a href="http://15013010203.com" target="_blank">亚洲一二三四久久</a>| <a href="http://www99mmnn.com" target="_blank">午夜久久电影网</a>| <a href="http://jpqueyou.com" target="_blank">亚洲国产小视频在线观看</a>| <a href="http://heshundadi.com" target="_blank">日韩天堂av</a>| <a href="http://go1818.com" target="_blank">亚洲电影欧美电影有声小说</a>| <a href="http://ayxchc.com" target="_blank">亚洲人成网站色ww在线</a>| <a href="http://caoxiu33.com" target="_blank">国产精品爽黄69</a>| <a href="http://www-24333.com" target="_blank">欧美激情黄色片</a>| <a href="http://nebnb89.com" target="_blank">国产综合av</a>| <a href="http://ccnn33.com" target="_blank">亚洲无线视频</a>| <a href="http://119773.com" target="_blank">日韩一级在线</a>| <a href="http://jm-comic3.com" target="_blank">久久人人爽国产</a>| <a href="http://sz-changrong.com" target="_blank">欧美一区二区三区啪啪</a>| <a href="http://017455.com" target="_blank">欧美日韩系列</a>| <a href="http://www-474736.com" target="_blank">亚洲第一在线</a>| <a href="http://xwsj2020.com" target="_blank">在线看片日韩</a>| <a href="http://97gaoba.com" target="_blank">亚洲午夜av在线</a>| <a href="http://660507jj.com" target="_blank">亚洲与欧洲av电影</a>| <a href="http://402626com.com" target="_blank">欧美成人精品</a>| <a href="http://lorgou.com" target="_blank">欧美激情一二三区</a>| <a href="http://56lin.com" target="_blank">精品成人久久</a>| <a href="http://8946286.com" target="_blank">久久久久国产成人精品亚洲午夜</a>| <a href="http://wanzhixue.com" target="_blank">99这里有精品</a>| <a href="http://y77778.com" target="_blank">欧美日韩精品二区</a>| <a href="http://saomm18.com" target="_blank">卡通动漫国产精品</a>| <a href="http://155fck.com" target="_blank">91久久精品国产91性色</a>| <a href="http://9876666.com" target="_blank">久久久久久久综合狠狠综合</a>| <a href="http://yw-95588.com" target="_blank">久久人人爽人人爽爽久久</a>| <a href="http://henhenai1.com" target="_blank">国产曰批免费观看久久久</a>| <a href="http://jnhrjixie.com" target="_blank">亚洲专区一区</a>| <a href="http://lysyfls.com" target="_blank">久久精品欧美日韩</a>| <a href="http://cctbdy.com" target="_blank">激情婷婷久久</a>| <a href="http://138268.com" target="_blank">欧美成人福利视频</a>| <a href="http://www55747.com" target="_blank">亚洲精品少妇30p</a>| <a href="http://zunguidq.com" target="_blank">亚洲在线观看视频网站</a>| <a href="http://luobu520.com" target="_blank">国产精品视频内</a>| <a href="http://lovehefei.com" target="_blank">久久久久久久999精品视频</a>| <a href="http://j88866.com" target="_blank">欧美国产日韩二区</a>| <a href="http://s3yx.com" target="_blank">亚洲永久在线</a>| <a href="http://v58q.com" 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>