锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲sm另类一区二区三区,中文字幕亚洲综合久久菠萝蜜 ,亚洲精品人成在线观看http://m.tkk7.com/DreamAngel/category/41321.html濡傛灉浣犲笇鏈涙垚鍔燂紝浠ユ亽蹇冧負(fù)鑹弸錛屼互緇忛獙涓哄弬璋嬶紝浠ュ皬蹇冧負(fù)鍏勫紵錛屼互甯屾湜涓哄摠鍏點?/description>zh-cnWed, 26 Aug 2009 09:26:13 GMTWed, 26 Aug 2009 09:26:13 GMT60SPOJ5錛圱he Next Palindrome錛?/title><link>http://m.tkk7.com/DreamAngel/articles/292608.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Wed, 26 Aug 2009 02:35:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/292608.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/292608.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/292608.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/292608.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/292608.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/PALIN/</a><br /> <p>銆愰鎰忕畝榪般?br /> 杈撳叆涓涓鏁存暟k錛岃緭鍑哄ぇ浜巏鐨勬渶灝忓洖鏂囨暣鏁般?br /> 銆愬垎鏋愩?br /> 鐢變簬棰樼洰緇欑殑鏁板瓧瓚呯駭澶?1000000浣?錛屾墍浠ユ毚鍔涙ā鎷熸樉鐒朵細(xì)涓ラ噸瓚呮椂錛屼簬鏄冭檻浠庢暟鐨勭壒鐐規(guī)潵姹傝В銆?/p> <p>棣栧厛鍋囪涓涓猲浣?0榪涘埗鏁板瓧鍙互琛ㄧず涓?A[0]A[1]A[2]...A[N-1]錛岄偅涔?br /> 1.鎴戜滑甯屾湜浠庝腑闂村紑濮嬩慨鏀規(guī)暟瀛楋紝浣挎暟澧炲姞鐨勫敖閲忓皯銆?br /> 濡?133151330錛屾樉鐒舵垜浠笉浼?xì)鍘绘敼鍙樺畠鋴射箣鎴愪?33252331錛屽洜涓轟粬鏄劇劧姣?33161331鏉ョ殑澶с?br /> 2.濡傛灉緇欎綘鐨勬暟宸茬粡鏄竴涓狿alindrome鏁幫紝閭d綘鏄劇劧搴旇浠庢渶涓棿鐨勫紑濮嬫敼璧楓?br /> 濡?808錛屾樉鐒朵綘涓嶄細(xì)鎶婂畠鏀規(guī)垚909鑰屾槸鎶婂畠鏀逛負(fù)818銆?br /> 3.濡傛灉瀛樺湪鍓嶅崐閮ㄥ垎鐨勬煇涓暟A[i]灝忎簬鍚庡崐閮ㄥ垎瀵瑰簲鐨勬暟A[N-1-i]錛岄偅涔堟垜浠繀欏繪妸鍓嶅崐閮ㄥ垎鐨勯偅涓暟鍙樻垚鍚庡崐閮ㄥ垎鐨勬暟鎵嶈兘婊¤凍Palindrome鐨勬潯浠訛紝鍙槸鏄劇劧榪欏鍔犺繃澶氾紝鎵浠ユ垜浠笇鏈涘湪瀹冨悗闈㈢殑鏌愪簺鏁癆[j]鎷垮幓澧炲姞 錛岃繖鏍鋒暟瀛楀彉澶т簡錛岃屼笖鎴戜滑涓嶉渶瑕佷嬌A[i]鍙樺ぇ(鏄劇劧A[i]鍦ˋ[j]鍓嶉潰鍑犱綅,澧炲姞A[j]鐨勮瘽錛屾暟瀛楀鍔犵殑鏇村皯)銆?br /> 4.濡傛灉鏌愭暟鍏ㄤ負(fù)9錛岄偅涔堟樉鐒跺畠鐨勪笅涓涓狿alindrome蹇呯劧涓?0...01,鍏朵腑鏈?N-1)涓?銆?/p> <p>浜庢槸寰楀埌涓嬪垪綆楁硶:<br /> a.棣栧厛鍒ゆ柇涓蹭腑鏄惁鍏ㄤ負(fù)9錛屽鏋滄槸鍒欒緭鍑?0..01(0鏈塏-1涓?,鍚﹀垯杞笅涓姝ャ?br /> b.鐢?涓寚閽坕,j鎸囧悜鍓嶃佸悗鍗婇儴鍒嗭紝鏄劇劧i浠庡墠鍗婇儴鍒嗙殑鏈鍙寵竟錛宩浠庡悗鍗婇儴鍒嗙殑鏈宸﹁竟寮濮嬫壂鎻忋傝嚜鐒惰繖閲岃繕闇瑕佽冭檻鍒癗鐨勫鍋舵э紝鍗?i=(len>>1)-1,j=i+1+(len&0x1);<br /> c.璁板綍瀵瑰簲浣嶇疆鐨勬暟瀛楃殑澶у皬鎯呭喌錛屽茍鎶婂墠鍗婇儴鍒嗙殑鍐呭copy鍒板悗鍗婇儴鍒嗗搴旂殑浣嶄笂銆?br /> d.濡傛灉瀛樺湪鍓嶅崐閮ㄥ垎鐨勬煇浜涙暟灝忎簬鍚庡崐閮ㄥ垎鐨勬煇浜涙暟錛屾垨璇ユ暟鏈韓涓篜alindrome鏁幫紝閭d箞榪涜榪涗綅鎿嶄綔錛屽嵆浠庢渶涓棿寮濮?1.涓鐩村姞鍒版病鏈夎繘浣嶃?br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_58_1760_Open_Image" onclick="this.style.display='none'; Codehighlighter1_58_1760_Open_Text.style.display='none'; Codehighlighter1_58_1760_Closed_Image.style.display='inline'; Codehighlighter1_58_1760_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_58_1760_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_58_1760_Closed_Text.style.display='none'; Codehighlighter1_58_1760_Open_Image.style.display='inline'; Codehighlighter1_58_1760_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_5</span><span id="Codehighlighter1_58_1760_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_58_1760_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_125_1758_Open_Image" onclick="this.style.display='none'; Codehighlighter1_125_1758_Open_Text.style.display='none'; Codehighlighter1_125_1758_Closed_Image.style.display='inline'; Codehighlighter1_125_1758_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_125_1758_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_125_1758_Closed_Text.style.display='none'; Codehighlighter1_125_1758_Open_Image.style.display='inline'; Codehighlighter1_125_1758_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_125_1758_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_125_1758_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));        <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        String s </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();  <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> m,t </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(s);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000">[] dp</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">int</span><span style="color: #000000">[</span><span style="color: #000000">1000002</span><span style="color: #000000">];<br /> <img id="Codehighlighter1_369_1754_Open_Image" onclick="this.style.display='none'; Codehighlighter1_369_1754_Open_Text.style.display='none'; Codehighlighter1_369_1754_Closed_Image.style.display='inline'; Codehighlighter1_369_1754_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_369_1754_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_369_1754_Closed_Text.style.display='none'; Codehighlighter1_369_1754_Open_Image.style.display='inline'; Codehighlighter1_369_1754_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</span><span style="color: #000000">(m</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;m</span><span style="color: #000000"><</span><span style="color: #000000">t;m</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_369_1754_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_369_1754_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            s </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();                    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            StringBuilder str</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> StringBuilder(s);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> len</span><span style="color: #000000">=</span><span style="color: #000000">str.length(),i,j;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">boolean</span><span style="color: #000000"> alln</span><span style="color: #000000">=</span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_552_610_Open_Image" onclick="this.style.display='none'; Codehighlighter1_552_610_Open_Text.style.display='none'; Codehighlighter1_552_610_Closed_Image.style.display='inline'; Codehighlighter1_552_610_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_552_610_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_552_610_Closed_Text.style.display='none'; Codehighlighter1_552_610_Open_Image.style.display='inline'; Codehighlighter1_552_610_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">for</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">len </span><span style="color: #000000">&&</span><span style="color: #000000"> alln;i</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_552_610_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_552_610_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(str.charAt(i)</span><span style="color: #000000">!=</span><span style="color: #000000">'</span><span style="color: #000000">9</span><span style="color: #000000">'</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    alln</span><span style="color: #000000">=</span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img id="Codehighlighter1_626_772_Open_Image" onclick="this.style.display='none'; Codehighlighter1_626_772_Open_Text.style.display='none'; Codehighlighter1_626_772_Closed_Image.style.display='inline'; Codehighlighter1_626_772_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_626_772_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_626_772_Closed_Text.style.display='none'; Codehighlighter1_626_772_Open_Image.style.display='inline'; Codehighlighter1_626_772_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(alln)</span><span id="Codehighlighter1_626_772_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_626_772_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                System.out.print(</span><span style="color: #000000">"</span><span style="color: #000000">1</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">for</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">len</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">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    System.out.print(</span><span style="color: #000000">"</span><span style="color: #000000">0</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                System.out.println(</span><span style="color: #000000">"</span><span style="color: #000000">1</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">continue</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">boolean</span><span style="color: #000000"> flag</span><span style="color: #000000">=</span><span style="color: #0000ff">true</span><span style="color: #000000">;;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            i</span><span style="color: #000000">=</span><span style="color: #000000">(len</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">1</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            j</span><span style="color: #000000">=</span><span style="color: #000000">(len</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">(len</span><span style="color: #000000">&</span><span style="color: #000000">0x1</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            Arrays.fill(dp,</span><span style="color: #000000">0</span><span style="color: #000000">);<br /> <img id="Codehighlighter1_898_1048_Open_Image" onclick="this.style.display='none'; Codehighlighter1_898_1048_Open_Text.style.display='none'; Codehighlighter1_898_1048_Closed_Image.style.display='inline'; Codehighlighter1_898_1048_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_898_1048_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_898_1048_Closed_Text.style.display='none'; Codehighlighter1_898_1048_Open_Image.style.display='inline'; Codehighlighter1_898_1048_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">while</span><span style="color: #000000">(j</span><span style="color: #000000"><</span><span style="color: #000000">len)</span><span id="Codehighlighter1_898_1048_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_898_1048_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(str.charAt(i)</span><span style="color: #000000">></span><span style="color: #000000">str.charAt(j))<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    dp[j]</span><span style="color: #000000">=-</span><span style="color: #000000">1</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(str.charAt(i)</span><span style="color: #000000"><</span><span style="color: #000000">str.charAt(j))<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    dp[j]</span><span style="color: #000000">=</span><span style="color: #000000">1</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                i</span><span style="color: #000000">--</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                j</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            i</span><span style="color: #000000">=</span><span style="color: #000000">(len</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">(len</span><span style="color: #000000">&</span><span style="color: #000000">0x1</span><span style="color: #000000">);<br /> <img id="Codehighlighter1_1096_1217_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1096_1217_Open_Text.style.display='none'; Codehighlighter1_1096_1217_Closed_Image.style.display='inline'; Codehighlighter1_1096_1217_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1096_1217_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1096_1217_Closed_Text.style.display='none'; Codehighlighter1_1096_1217_Open_Image.style.display='inline'; Codehighlighter1_1096_1217_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">while</span><span style="color: #000000">(i</span><span style="color: #000000"><</span><span style="color: #000000">len)</span><span id="Codehighlighter1_1096_1217_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1096_1217_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(dp[i]</span><span style="color: #000000">==-</span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_1153_1197_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1153_1197_Open_Text.style.display='none'; Codehighlighter1_1153_1197_Closed_Image.style.display='inline'; Codehighlighter1_1153_1197_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1153_1197_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1153_1197_Closed_Text.style.display='none'; Codehighlighter1_1153_1197_Open_Image.style.display='inline'; Codehighlighter1_1153_1197_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(dp[i]</span><span style="color: #000000">==</span><span style="color: #000000">1</span><span style="color: #000000">)</span><span id="Codehighlighter1_1153_1197_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1153_1197_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    flag</span><span style="color: #000000">=</span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                i</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(i</span><span style="color: #000000">==</span><span style="color: #000000">len)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                flag</span><span style="color: #000000">=</span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_1296_1370_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1296_1370_Open_Text.style.display='none'; Codehighlighter1_1296_1370_Closed_Image.style.display='inline'; Codehighlighter1_1296_1370_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1296_1370_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1296_1370_Closed_Text.style.display='none'; Codehighlighter1_1296_1370_Open_Image.style.display='inline'; Codehighlighter1_1296_1370_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">for</span><span style="color: #000000">(i</span><span style="color: #000000">=</span><span style="color: #000000">(len</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">(len</span><span style="color: #000000">&</span><span style="color: #000000">0x1</span><span style="color: #000000">);i</span><span style="color: #000000"><</span><span style="color: #000000">len;</span><span style="color: #000000">++</span><span style="color: #000000">i)</span><span id="Codehighlighter1_1296_1370_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1296_1370_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(dp[i]</span><span style="color: #000000">!=</span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    str.setCharAt(i,str.charAt(len</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">i));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            <br /> <img id="Codehighlighter1_1394_1709_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1394_1709_Open_Text.style.display='none'; Codehighlighter1_1394_1709_Closed_Image.style.display='inline'; Codehighlighter1_1394_1709_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1394_1709_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1394_1709_Closed_Text.style.display='none'; Codehighlighter1_1394_1709_Open_Image.style.display='inline'; Codehighlighter1_1394_1709_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(</span><span style="color: #000000">!</span><span style="color: #000000">flag)</span><span id="Codehighlighter1_1394_1709_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1394_1709_Open_Text"><span style="color: #000000">{                <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                i</span><span style="color: #000000">=</span><span style="color: #000000">(len</span><span style="color: #000000">>></span><span style="color: #000000">1</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(len</span><span style="color: #000000">%</span><span style="color: #000000">2</span><span style="color: #000000">==</span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    i</span><span style="color: #000000">--</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">int</span><span style="color: #000000"> buf</span><span style="color: #000000">=</span><span style="color: #000000">1</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_1505_1701_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1505_1701_Open_Text.style.display='none'; Codehighlighter1_1505_1701_Closed_Image.style.display='inline'; Codehighlighter1_1505_1701_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1505_1701_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1505_1701_Closed_Text.style.display='none'; Codehighlighter1_1505_1701_Open_Image.style.display='inline'; Codehighlighter1_1505_1701_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">while</span><span style="color: #000000">((buf</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"> (i</span><span style="color: #000000">>=</span><span style="color: #000000">0</span><span style="color: #000000">))</span><span id="Codehighlighter1_1505_1701_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1505_1701_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    buf</span><span style="color: #000000">=</span><span style="color: #000000">(str.charAt(i)</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">0</span><span style="color: #000000">'</span><span style="color: #000000">)</span><span style="color: #000000">/</span><span style="color: #000000">10</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">int</span><span style="color: #000000"> p</span><span style="color: #000000">=</span><span style="color: #000000">(</span><span style="color: #0000ff">int</span><span style="color: #000000">)(str.charAt(i)</span><span style="color: #000000">-</span><span style="color: #000000">'</span><span style="color: #000000">0</span><span style="color: #000000">'</span><span style="color: #000000">+</span><span style="color: #000000">1</span><span style="color: #000000">)</span><span style="color: #000000">%</span><span style="color: #000000">10</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">char</span><span style="color: #000000"> c</span><span style="color: #000000">=</span><span style="color: #000000">(</span><span style="color: #0000ff">char</span><span style="color: #000000">)(p</span><span style="color: #000000">+</span><span style="color: #000000">48</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    str.setCharAt(i,c);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    str.setCharAt(len</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">-</span><span style="color: #000000">i,c);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    i</span><span style="color: #000000">--</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(str);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />     }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/292608.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-26 10:35 <a href="http://m.tkk7.com/DreamAngel/articles/292608.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ54錛圝ulka錛?/title><link>http://m.tkk7.com/DreamAngel/articles/292334.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Mon, 24 Aug 2009 02:14:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/292334.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/292334.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/292334.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/292334.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/292334.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/JULKA/</a><br /> 銆愰鎰忕畝榪般?br /> 杈撳叆淇╅珮綺懼害鏁癮,b錛岃В鏂圭▼2x+a=b<br /> 銆愬垎鏋愩?br /> 鏈鑰冩煡鐨勬槸楂樼簿搴﹀噺娉曘侀櫎娉曪紙闄や互鍗曠簿搴︼級鍜屽姞娉曘? <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.math.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_79_501_Open_Image" onclick="this.style.display='none'; Codehighlighter1_79_501_Open_Text.style.display='none'; Codehighlighter1_79_501_Closed_Image.style.display='inline'; Codehighlighter1_79_501_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_79_501_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_79_501_Closed_Text.style.display='none'; Codehighlighter1_79_501_Open_Image.style.display='inline'; Codehighlighter1_79_501_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_54</span><span id="Codehighlighter1_79_501_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_79_501_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_146_499_Open_Image" onclick="this.style.display='none'; Codehighlighter1_146_499_Open_Text.style.display='none'; Codehighlighter1_146_499_Closed_Image.style.display='inline'; Codehighlighter1_146_499_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_146_499_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_146_499_Closed_Text.style.display='none'; Codehighlighter1_146_499_Open_Image.style.display='inline'; Codehighlighter1_146_499_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_146_499_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_146_499_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Scanner cin </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Scanner(System.in);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BigInteger total, c, a, b;<br /> <img id="Codehighlighter1_255_493_Open_Image" onclick="this.style.display='none'; Codehighlighter1_255_493_Open_Text.style.display='none'; Codehighlighter1_255_493_Closed_Image.style.display='inline'; Codehighlighter1_255_493_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_255_493_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_255_493_Closed_Text.style.display='none'; Codehighlighter1_255_493_Open_Image.style.display='inline'; Codehighlighter1_255_493_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</span><span style="color: #000000">(</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> </span><span style="color: #000000">10</span><span style="color: #000000">; i</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_255_493_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_255_493_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            total </span><span style="color: #000000">=</span><span style="color: #000000"> cin.nextBigInteger();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            c </span><span style="color: #000000">=</span><span style="color: #000000"> cin.nextBigInteger();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            a </span><span style="color: #000000">=</span><span style="color: #000000"> total.subtract(c);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            a </span><span style="color: #000000">=</span><span style="color: #000000"> a.divide(BigInteger.valueOf(</span><span style="color: #000000">2</span><span style="color: #000000">));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            b </span><span style="color: #000000">=</span><span style="color: #000000"> a;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            a </span><span style="color: #000000">=</span><span style="color: #000000"> a.add(c);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(a);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(b);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/292334.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-24 10:14 <a href="http://m.tkk7.com/DreamAngel/articles/292334.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ400錛圱o and Fro錛?/title><link>http://m.tkk7.com/DreamAngel/articles/292255.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Sun, 23 Aug 2009 02:05:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/292255.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/292255.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/292255.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/292255.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/292255.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/TOANDFRO/</a><br /> 銆愰鎰忕畝榪般?br /> 灝嗕竴涓瓧絎︿覆榪樺師銆?br /> 銆愬垎鏋愩?br /> 灝嗕竴涓瓧絎︿覆浠ヨ泧褰㈡柟寮忓瓨鍌ㄥ悗錛屽啀綰靛悜杈撳嚭銆? <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_60_690_Open_Image" onclick="this.style.display='none'; Codehighlighter1_60_690_Open_Text.style.display='none'; Codehighlighter1_60_690_Closed_Image.style.display='inline'; Codehighlighter1_60_690_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_60_690_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_60_690_Closed_Text.style.display='none'; Codehighlighter1_60_690_Open_Image.style.display='inline'; Codehighlighter1_60_690_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_400</span><span id="Codehighlighter1_60_690_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_60_690_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_127_688_Open_Image" onclick="this.style.display='none'; Codehighlighter1_127_688_Open_Text.style.display='none'; Codehighlighter1_127_688_Closed_Image.style.display='inline'; Codehighlighter1_127_688_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_127_688_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_127_688_Closed_Text.style.display='none'; Codehighlighter1_127_688_Open_Image.style.display='inline'; Codehighlighter1_127_688_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_127_688_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_127_688_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        String s </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">while</span><span style="color: #000000">((s </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine())</span><span style="color: #000000">!=</span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_317_678_Open_Image" onclick="this.style.display='none'; Codehighlighter1_317_678_Open_Text.style.display='none'; Codehighlighter1_317_678_Closed_Image.style.display='inline'; Codehighlighter1_317_678_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_317_678_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_317_678_Closed_Text.style.display='none'; Codehighlighter1_317_678_Open_Image.style.display='inline'; Codehighlighter1_317_678_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_317_678_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_317_678_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,j,k,n </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(s);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(n</span><span style="color: #000000">==</span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            s </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img id="Codehighlighter1_439_638_Open_Image" onclick="this.style.display='none'; Codehighlighter1_439_638_Open_Text.style.display='none'; Codehighlighter1_439_638_Closed_Image.style.display='inline'; Codehighlighter1_439_638_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_439_638_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_439_638_Closed_Text.style.display='none'; Codehighlighter1_439_638_Open_Image.style.display='inline'; Codehighlighter1_439_638_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">for</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">)</span><span id="Codehighlighter1_439_638_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_439_638_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                k</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                j</span><span style="color: #000000">=</span><span style="color: #000000">i;<br /> <img id="Codehighlighter1_491_630_Open_Image" onclick="this.style.display='none'; Codehighlighter1_491_630_Open_Text.style.display='none'; Codehighlighter1_491_630_Closed_Image.style.display='inline'; Codehighlighter1_491_630_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_491_630_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_491_630_Closed_Text.style.display='none'; Codehighlighter1_491_630_Open_Image.style.display='inline'; Codehighlighter1_491_630_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">while</span><span style="color: #000000">(j</span><span style="color: #000000"><</span><span style="color: #000000">s.length())</span><span id="Codehighlighter1_491_630_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_491_630_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    System.out.print(s.charAt(j));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">if</span><span style="color: #000000">(k</span><span style="color: #000000">%</span><span style="color: #000000">2</span><span style="color: #000000">==</span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        j</span><span style="color: #000000">+=</span><span style="color: #000000">2</span><span style="color: #000000">*</span><span style="color: #000000">(n</span><span style="color: #000000">-</span><span style="color: #000000">i)</span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">else</span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        j</span><span style="color: #000000">+=</span><span style="color: #000000">2</span><span style="color: #000000">*</span><span style="color: #000000">(i</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">1</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    k</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(</span><span style="color: #000000">""</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000">          <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/292255.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-23 10:05 <a href="http://m.tkk7.com/DreamAngel/articles/292255.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ4錛圱ransform the Expression錛?/title><link>http://m.tkk7.com/DreamAngel/articles/292194.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Sat, 22 Aug 2009 08:08:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/292194.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/292194.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/292194.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/292194.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/292194.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/ONP/<br /> </a>涓紑琛ㄨ揪寮忚漿鎹負(fù)鍚庣紑琛ㄨ揪寮忕畻娉?br /> 浣跨敤涓涓暟緇勪綔涓鴻繍綆楃鐨勬爤錛屼粠澶村埌灝炬壂鎻忎腑緙琛ㄨ揪寮忥紝瀵逛笉鍚岀被鍨嬬殑瀛楃鎸変笉鍚屾儏鍐靛鐞嗭細(xì)<br /> 1銆佸鏋滄槸鏁板瓧鍒欑洿鎺ユ斁鍏ュ悗緙琛ㄨ揪寮忔暟緇勶紱<br /> 2銆佸鏋滄槸宸︽嫭鍙峰垯鐩存帴鍏ユ爤錛?br /> 3銆佸鏋滄槸鍙蟲嫭鍙鳳紝鍒欐妸浠庢爤欏剁洿鍒板搴斿乏鎷彿涔嬮棿鐨勮繍綆楃渚濇閫鏍堬紝騫舵竻闄ゅ搴旂殑宸︽嫭鍙鳳紱<br /> 4銆佸浜庤繍綆楃錛屽鏋滆榪愮畻絎︾殑浼樺厛綰уぇ浜庢爤欏朵紭鍏堢駭錛屽垯鐩存帴鍏ユ爤錛?br /> 鑻ヨ榪愮畻絎︾殑浼樺厛綰у皬浜庣瓑浜庢爤欏朵紭鍏堢駭錛屽垯鍏堟妸鏍堥《榪愮畻絎﹀嚭鏍堬紝鍐欏叆鍚庣紑琛ㄨ揪寮忔暟緇勶紝<br /> 鐒跺悗鍐嶅叆鏍堬紱<br /> 5銆佹壂鎻忓畬鎴愬悗錛屽彇鍑烘爤涓墍鏈夎繍綆楃錛屽啓鍏ュ悗緙琛ㄨ揪寮忔暟緇勩? <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_58_1451_Open_Image" onclick="this.style.display='none'; Codehighlighter1_58_1451_Open_Text.style.display='none'; Codehighlighter1_58_1451_Closed_Image.style.display='inline'; Codehighlighter1_58_1451_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_58_1451_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_58_1451_Closed_Text.style.display='none'; Codehighlighter1_58_1451_Open_Image.style.display='inline'; Codehighlighter1_58_1451_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_4</span><span id="Codehighlighter1_58_1451_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_58_1451_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img id="Codehighlighter1_90_118_Open_Image" onclick="this.style.display='none'; Codehighlighter1_90_118_Open_Text.style.display='none'; Codehighlighter1_90_118_Closed_Image.style.display='inline'; Codehighlighter1_90_118_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_90_118_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_90_118_Closed_Text.style.display='none'; Codehighlighter1_90_118_Open_Image.style.display='inline'; Codehighlighter1_90_118_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </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">char</span><span style="color: #000000">[] opt </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span id="Codehighlighter1_90_118_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_90_118_Open_Text"><span style="color: #000000">{</span><span style="color: #000000">'</span><span style="color: #000000">(</span><span style="color: #000000">'</span><span style="color: #000000">,</span><span style="color: #000000">'</span><span style="color: #000000">+</span><span style="color: #000000">'</span><span style="color: #000000">,</span><span style="color: #000000">'</span><span style="color: #000000">-</span><span style="color: #000000">'</span><span style="color: #000000">,</span><span style="color: #000000">'</span><span style="color: #000000">*</span><span style="color: #000000">'</span><span style="color: #000000">,</span><span style="color: #000000">'</span><span style="color: #000000">/</span><span style="color: #000000">'</span><span style="color: #000000">,</span><span style="color: #000000">'</span><span style="color: #000000">^</span><span style="color: #000000">'</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><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img id="Codehighlighter1_170_340_Open_Image" onclick="this.style.display='none'; Codehighlighter1_170_340_Open_Text.style.display='none'; Codehighlighter1_170_340_Closed_Image.style.display='inline'; Codehighlighter1_170_340_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_170_340_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_170_340_Closed_Text.style.display='none'; Codehighlighter1_170_340_Open_Image.style.display='inline'; Codehighlighter1_170_340_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </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">boolean</span><span style="color: #000000"> compare(</span><span style="color: #0000ff">char</span><span style="color: #000000"> c1,</span><span style="color: #0000ff">char</span><span style="color: #000000"> c2)</span><span id="Codehighlighter1_170_340_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_170_340_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,j;<br /> <img id="Codehighlighter1_201_234_Open_Image" onclick="this.style.display='none'; Codehighlighter1_201_234_Open_Text.style.display='none'; Codehighlighter1_201_234_Closed_Image.style.display='inline'; Codehighlighter1_201_234_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_201_234_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_201_234_Closed_Text.style.display='none'; Codehighlighter1_201_234_Open_Image.style.display='inline'; Codehighlighter1_201_234_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</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">7</span><span style="color: #000000">;i</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_201_234_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_201_234_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(c1</span><span style="color: #000000">==</span><span style="color: #000000">opt[i])<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img id="Codehighlighter1_254_287_Open_Image" onclick="this.style.display='none'; Codehighlighter1_254_287_Open_Text.style.display='none'; Codehighlighter1_254_287_Closed_Image.style.display='inline'; Codehighlighter1_254_287_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_254_287_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_254_287_Closed_Text.style.display='none'; Codehighlighter1_254_287_Open_Image.style.display='inline'; Codehighlighter1_254_287_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</span><span style="color: #000000">(j</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;j</span><span style="color: #000000"><</span><span style="color: #000000">7</span><span style="color: #000000">;j</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_254_287_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_254_287_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(c2</span><span style="color: #000000">==</span><span style="color: #000000">opt[j])<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">if</span><span style="color: #000000">(i</span><span style="color: #000000">></span><span style="color: #000000">j)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">else</span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_407_1449_Open_Image" onclick="this.style.display='none'; Codehighlighter1_407_1449_Open_Text.style.display='none'; Codehighlighter1_407_1449_Closed_Image.style.display='inline'; Codehighlighter1_407_1449_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_407_1449_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_407_1449_Closed_Text.style.display='none'; Codehighlighter1_407_1449_Open_Image.style.display='inline'; Codehighlighter1_407_1449_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_407_1449_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_407_1449_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));        <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        String line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();  <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,j,n,t </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(line);<br /> <img id="Codehighlighter1_629_1443_Open_Image" onclick="this.style.display='none'; Codehighlighter1_629_1443_Open_Text.style.display='none'; Codehighlighter1_629_1443_Closed_Image.style.display='inline'; Codehighlighter1_629_1443_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_629_1443_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_629_1443_Closed_Text.style.display='none'; Codehighlighter1_629_1443_Open_Image.style.display='inline'; Codehighlighter1_629_1443_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</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">t;i</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_629_1443_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_629_1443_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">char</span><span style="color: #000000">[] stack </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">char</span><span style="color: #000000">[</span><span style="color: #000000">400</span><span style="color: #000000">];<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">char</span><span style="color: #000000"> c;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> top</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            n</span><span style="color: #000000">=</span><span style="color: #000000">line.length();<br /> <img id="Codehighlighter1_774_1404_Open_Image" onclick="this.style.display='none'; Codehighlighter1_774_1404_Open_Text.style.display='none'; Codehighlighter1_774_1404_Closed_Image.style.display='inline'; Codehighlighter1_774_1404_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_774_1404_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_774_1404_Closed_Text.style.display='none'; Codehighlighter1_774_1404_Open_Image.style.display='inline'; Codehighlighter1_774_1404_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">for</span><span style="color: #000000">(j</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;j</span><span style="color: #000000"><</span><span style="color: #000000">n;j</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_774_1404_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_774_1404_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                c</span><span style="color: #000000">=</span><span style="color: #000000">line.charAt(j);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(c</span><span style="color: #000000">>=</span><span style="color: #000000">'</span><span style="color: #000000">a</span><span style="color: #000000">'</span><span style="color: #000000"> </span><span style="color: #000000">&&</span><span style="color: #000000"> c</span><span style="color: #000000"><=</span><span style="color: #000000">'</span><span style="color: #000000">z</span><span style="color: #000000">'</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    System.out.print(c);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(c</span><span style="color: #000000">==</span><span style="color: #000000">'</span><span style="color: #000000">(</span><span style="color: #000000">'</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    stack[</span><span style="color: #000000">++</span><span style="color: #000000">top]</span><span style="color: #000000">=</span><span style="color: #000000">c;<br /> <img id="Codehighlighter1_927_1078_Open_Image" onclick="this.style.display='none'; Codehighlighter1_927_1078_Open_Text.style.display='none'; Codehighlighter1_927_1078_Closed_Image.style.display='inline'; Codehighlighter1_927_1078_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_927_1078_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_927_1078_Closed_Text.style.display='none'; Codehighlighter1_927_1078_Open_Image.style.display='inline'; Codehighlighter1_927_1078_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">else</span><span style="color: #000000"> </span><span style="color: #0000ff">if</span><span style="color: #000000">(c</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 id="Codehighlighter1_927_1078_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_927_1078_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_959_1048_Open_Image" onclick="this.style.display='none'; Codehighlighter1_959_1048_Open_Text.style.display='none'; Codehighlighter1_959_1048_Closed_Image.style.display='inline'; Codehighlighter1_959_1048_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_959_1048_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_959_1048_Closed_Text.style.display='none'; Codehighlighter1_959_1048_Open_Image.style.display='inline'; Codehighlighter1_959_1048_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">while</span><span style="color: #000000">(stack[top]</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 id="Codehighlighter1_959_1048_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_959_1048_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        System.out.print(stack[top]);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        top</span><span style="color: #000000">--</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    top</span><span style="color: #000000">--</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img id="Codehighlighter1_1091_1396_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1091_1396_Open_Text.style.display='none'; Codehighlighter1_1091_1396_Closed_Image.style.display='inline'; Codehighlighter1_1091_1396_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1091_1396_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1091_1396_Closed_Text.style.display='none'; Codehighlighter1_1091_1396_Open_Image.style.display='inline'; Codehighlighter1_1091_1396_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">else</span><span id="Codehighlighter1_1091_1396_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1091_1396_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">if</span><span style="color: #000000">(top</span><span style="color: #000000">==</span><span style="color: #000000">0</span><span style="color: #000000"> </span><span style="color: #000000">||</span><span style="color: #000000"> compare(c,stack[top]))<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        stack[</span><span style="color: #000000">++</span><span style="color: #000000">top]</span><span style="color: #000000">=</span><span style="color: #000000">c;<br /> <img id="Codehighlighter1_1174_1386_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1174_1386_Open_Text.style.display='none'; Codehighlighter1_1174_1386_Closed_Image.style.display='inline'; Codehighlighter1_1174_1386_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1174_1386_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1174_1386_Closed_Text.style.display='none'; Codehighlighter1_1174_1386_Open_Image.style.display='inline'; Codehighlighter1_1174_1386_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">else</span><span id="Codehighlighter1_1174_1386_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1174_1386_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_1235_1336_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1235_1336_Open_Text.style.display='none'; Codehighlighter1_1235_1336_Closed_Image.style.display='inline'; Codehighlighter1_1235_1336_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1235_1336_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1235_1336_Closed_Text.style.display='none'; Codehighlighter1_1235_1336_Open_Image.style.display='inline'; Codehighlighter1_1235_1336_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />                        </span><span style="color: #0000ff">while</span><span style="color: #000000">(</span><span style="color: #000000">!</span><span style="color: #000000">(top</span><span style="color: #000000">==</span><span style="color: #000000">0</span><span style="color: #000000"> </span><span style="color: #000000">||</span><span style="color: #000000"> compare(c,stack[top])))</span><span id="Codehighlighter1_1235_1336_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1235_1336_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                            System.out.print(stack[top]);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                            top</span><span style="color: #000000">--</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                        stack[top</span><span style="color: #000000">++</span><span style="color: #000000">]</span><span style="color: #000000">=</span><span style="color: #000000">c;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                    }</span></span><span style="color: #000000">    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />                }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000">     <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(</span><span style="color: #000000">""</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/292194.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-22 16:08 <a href="http://m.tkk7.com/DreamAngel/articles/292194.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ24錛圫mall factorials錛?/title><link>http://m.tkk7.com/DreamAngel/articles/292061.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Fri, 21 Aug 2009 02:39:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/292061.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/292061.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/292061.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/292061.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/292061.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/FCTRL2/</a><br /> 瑕佺偣錛?br /> 1銆丅igInteger灞炰簬java.math.BigInteger錛屽洜姝ゅ湪姣忔浣跨敤鍓嶉兘瑕乮mport 榪欎釜綾匯?br /> 2銆佸叾甯哥敤鐨勬瀯閫犳柟娉曟湁錛? <table cellspacing="0" cellpadding="3" width="70%" border="1"> <tbody> <tr> <td width="20%"><code><strong><a href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html#BigInteger(java.lang.String)">BigInteger</a></strong>(<a title="java.lang 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/lang/String.html">String</a> val)</code><br />           灝?BigInteger 鐨勫崄榪涘埗瀛楃涓茶〃紺哄艦寮忚漿鎹負(fù) BigInteger銆?/td> </tr> <tr> <td><code><strong><a href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html#BigInteger(java.lang.String, int)">BigInteger</a></strong>(<a title="java.lang 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/lang/String.html">String</a> val, int radix)</code><br />           灝嗘寚瀹氬熀鏁扮殑 BigInteger 鐨勫瓧絎︿覆琛ㄧず褰㈠紡杞崲涓?BigInteger銆?/td> </tr> </tbody> </table> 濡傝灝唅nt鍨嬬殑2杞崲涓築igInteger鍨嬶紝瑕佸啓涓築igInteger two=new BigInteger("2"); //<font style="background-color: #ffffff" color="#ff0000">娉ㄦ剰2鍙屽紩鍙蜂笉鑳界渷鐣?font color="#ff0000"><br /> <span style="color: #000000">3銆丅igInteger綾繪ā鎷熶簡鎵鏈夌殑int鍨嬫暟瀛︽搷浣滐紝濡俛dd()==“+”,divide()==“-”絳夛紝浣嗘敞鎰忓叾鍐呭榪涜鏁板榪愮畻鏃朵笉鑳界洿鎺ヤ嬌鐢ㄦ暟瀛﹁繍綆楃榪涜榪愮畻錛屽繀欏諱嬌鐢ㄥ叾鍐呴儴鏂規(guī)硶銆傝屼笖鍏舵搷浣滄暟涔熷繀欏諱負(fù)BigInteger鍨嬨?br /> <font color="#ff0000">濡傦細(xì)two.add(2)灝辨槸涓縐嶉敊璇殑鎿嶄綔錛屽洜涓?娌℃湁鍙樹負(fù)BigInteger鍨嬨?/font><br /> 4銆佸綋瑕佹妸璁$畻緇撴灉杈撳嚭鏃跺簲璇ヤ嬌鐢?toString鏂規(guī)硶灝嗗叾杞崲涓?0榪涘埗鐨勫瓧絎︿覆錛岃緇嗚鏄庡涓嬶細(xì) <table cellspacing="0" cellpadding="3" width="70%" border="1"> <tbody> <tr> <td width="20%"><a title="java.lang 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/lang/String.html">String</a></td> <td><code><strong><a href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html#toString()">toString</a></strong>()</code><br />           榪斿洖姝?BigInteger 鐨勫崄榪涘埗瀛楃涓茶〃紺哄艦寮忋?/td> </tr> </tbody> </table> 杈撳嚭鏂規(guī)硶錛歋ystem.out.print(two.toString());<br /> 5銆佷笁涓粡甯哥敤鍒扮殑鍑芥暟錛? <table cellspacing="0" cellpadding="3" width="70%" border="1"> <tbody> <tr> <td width="20%"><a title="java.math 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html">BigInteger</a></td> <td><code><strong><a href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html#remainder(java.math.BigInteger)">remainder</a></strong>(<a title="java.math 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html">BigInteger</a> val)</code><br />           榪斿洖鍏跺間負(fù) <tt>(this % val)</tt> 鐨?BigInteger銆?/td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="3" width="70%" border="1"> <tbody> <tr> <td width="20%"><a title="java.math 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html">BigInteger</a></td> <td><code><strong><a href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html#negate()">negate</a></strong>()</code><br />           榪斿洖鍏跺兼槸 <tt>(-this)</tt> 鐨?BigInteger銆?/td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="3" width="70%" border="1"> <tbody> <tr> <td width="20%">int</td> <td><code><strong><a href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html#compareTo(java.math.BigInteger)">compareTo</a></strong>(<a title="java.math 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html">BigInteger</a> val)</code><br />           灝嗘 BigInteger 涓庢寚瀹氱殑 BigInteger 榪涜姣旇緝銆?/td> </tr> </tbody> </table> <font color="#000000">remainder鐢ㄦ潵姹備綑鏁般?br /> negate灝嗘搷浣滄暟鍙樹負(fù)鐩稿弽鏁般?br /> compare鐨勮瑙e涓嬶細(xì)<br /> </font> <h3><font color="#000000">compareTo</font></h3> <pre><font color="#000000">public int <strong>compareTo</strong>(</font><a title="java.math 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html"><font color="#000000">BigInteger</font></a><font color="#000000"> val)</font></pre> <p><font color="#000000">灝嗘 BigInteger 涓庢寚瀹氱殑 BigInteger 榪涜姣旇緝銆傚浜庨拡瀵瑰叚涓竷?yōu)當(dāng)姣旇緝杩惤帡绗?(<, ==, >, >=, !=, <=) 涓殑姣忎竴涓繍綆楃鐨勫悇涓柟娉曪紝浼樺厛鎻愪緵姝ゆ柟娉曘傛墽琛岃繖浜涙瘮杈冪殑寤鴻璇彞鏄細(xì)<tt>(x.compareTo(y)</tt> <<em>op</em>> <tt>0)</tt>錛屽叾涓?<<em>op</em>> 鏄叚涓瘮杈冭繍綆楃涔嬩竴銆?</font></p> <p><font color="#000000"><strong>鎸囧畾鑰咃細(xì)</strong></font><font color="#000000">鎺ュ彛 <code><a title="java.lang 涓殑鎺ュ彛" href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/lang/Comparable.html">Comparable</a><<a title="java.math 涓殑綾? href="file:///E:/JAVA/html_zh_CN/html/zh_CN/api/java/math/BigInteger.html">BigInteger</a>></code> 涓殑 <code>compareTo</code></font><font color="#000000"><strong><br /> 鍙傛暟錛?/strong></font> <font color="#000000"><code>val</code> - 灝嗘 BigInteger 涓庝箣姣旇緝鐨?BigInteger銆?<br /> </font><font color="#000000"><strong>榪斿洖錛?/strong></font> <font color="#a52a2a">褰撴 BigInteger 鍦ㄦ暟鍊間笂灝忎簬銆佺瓑浜庢垨澶т簬 <tt>val</tt> 鏃訛紝榪斿洖 -1錛?錛屾垨 1 </font></p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.math.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align="top" /><br /> <img id="Codehighlighter1_79_683_Open_Image" onclick="this.style.display='none'; Codehighlighter1_79_683_Open_Text.style.display='none'; Codehighlighter1_79_683_Closed_Image.style.display='inline'; Codehighlighter1_79_683_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_79_683_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_79_683_Closed_Text.style.display='none'; Codehighlighter1_79_683_Open_Image.style.display='inline'; Codehighlighter1_79_683_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_24</span><span id="Codehighlighter1_79_683_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_79_683_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_146_681_Open_Image" onclick="this.style.display='none'; Codehighlighter1_146_681_Open_Text.style.display='none'; Codehighlighter1_146_681_Closed_Image.style.display='inline'; Codehighlighter1_146_681_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_146_681_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_146_681_Closed_Text.style.display='none'; Codehighlighter1_146_681_Open_Image.style.display='inline'; Codehighlighter1_146_681_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span id="Codehighlighter1_146_681_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_146_681_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));        <br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />        String line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();  <br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,j,k,n </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(line);<br /> <img id="Codehighlighter1_368_675_Open_Image" onclick="this.style.display='none'; Codehighlighter1_368_675_Open_Text.style.display='none'; Codehighlighter1_368_675_Closed_Image.style.display='inline'; Codehighlighter1_368_675_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_368_675_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_368_675_Closed_Text.style.display='none'; Codehighlighter1_368_675_Open_Image.style.display='inline'; Codehighlighter1_368_675_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span style="color: #0000ff">for</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">)</span><span id="Codehighlighter1_368_675_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_368_675_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />            line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />            k </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(line);<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />            BigInteger a </span><span style="color: #000000">=</span><span style="color: #000000"> BigInteger.valueOf(</span><span style="color: #000000">1</span><span style="color: #000000">);<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />            BigInteger c </span><span style="color: #000000">=</span><span style="color: #000000"> BigInteger.valueOf(</span><span style="color: #000000">1</span><span style="color: #000000">);<br /> <img id="Codehighlighter1_546_639_Open_Image" onclick="this.style.display='none'; Codehighlighter1_546_639_Open_Text.style.display='none'; Codehighlighter1_546_639_Closed_Image.style.display='inline'; Codehighlighter1_546_639_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_546_639_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_546_639_Closed_Text.style.display='none'; Codehighlighter1_546_639_Open_Image.style.display='inline'; Codehighlighter1_546_639_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" />            </span><span style="color: #0000ff">for</span><span style="color: #000000">(j</span><span style="color: #000000">=</span><span style="color: #000000">2</span><span style="color: #000000">;j</span><span style="color: #000000"><=</span><span style="color: #000000">k;j</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_546_639_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_546_639_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />                BigInteger b </span><span style="color: #000000">=</span><span style="color: #000000"> BigInteger.valueOf(j);<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />                c </span><span style="color: #000000">=</span><span style="color: #000000"> a.multiply(b);<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />                a </span><span style="color: #000000">=</span><span style="color: #000000"> c;<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/InBlock.gif" align="top" />            System.out.println(c);<br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div> </span></font></font> <img src ="http://m.tkk7.com/DreamAngel/aggbug/292061.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-21 10:39 <a href="http://m.tkk7.com/DreamAngel/articles/292061.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ11錛團(tuán)actorial錛?/title><link>http://m.tkk7.com/DreamAngel/articles/291994.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Thu, 20 Aug 2009 12:09:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/291994.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/291994.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/291994.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/291994.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/291994.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/FCTRL/<br /> </a>瑕佺偣錛氶樁涔樼殑榪囩▼涓紝鍙湁鍋舵暟涓?鐩鎬箻鎵嶈兘鍑虹幇0銆傝屽伓鏁扮殑涓暟姣?澶氾紝鎵浠ラ樁涔樼粨鏋滄湯灝炬湁澶氬皯浣?錛屽彧鍙栧喅浜?鐨勪釜鏁幫紝鏁呮闂灝辨槸姹備竴涓暟涓湁澶氬皯涓?銆? <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img id="Codehighlighter1_59_639_Open_Image" onclick="this.style.display='none'; Codehighlighter1_59_639_Open_Text.style.display='none'; Codehighlighter1_59_639_Closed_Image.style.display='inline'; Codehighlighter1_59_639_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_59_639_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_59_639_Closed_Text.style.display='none'; Codehighlighter1_59_639_Open_Image.style.display='inline'; Codehighlighter1_59_639_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_11</span><span id="Codehighlighter1_59_639_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_59_639_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_126_637_Open_Image" onclick="this.style.display='none'; Codehighlighter1_126_637_Open_Text.style.display='none'; Codehighlighter1_126_637_Closed_Image.style.display='inline'; Codehighlighter1_126_637_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_126_637_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_126_637_Closed_Text.style.display='none'; Codehighlighter1_126_637_Open_Image.style.display='inline'; Codehighlighter1_126_637_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span id="Codehighlighter1_126_637_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_126_637_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));        <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        String line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        StringTokenizer st </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringTokenizer(line);   <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,k,s,n </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(st.nextToken()); <br /> <img id="Codehighlighter1_416_631_Open_Image" onclick="this.style.display='none'; Codehighlighter1_416_631_Open_Text.style.display='none'; Codehighlighter1_416_631_Closed_Image.style.display='inline'; Codehighlighter1_416_631_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_416_631_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_416_631_Closed_Text.style.display='none'; Codehighlighter1_416_631_Open_Image.style.display='inline'; Codehighlighter1_416_631_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span style="color: #0000ff">for</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">)</span><span id="Codehighlighter1_416_631_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_416_631_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            st </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringTokenizer(line);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            k </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(st.nextToken()); <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            s</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_561_595_Open_Image" onclick="this.style.display='none'; Codehighlighter1_561_595_Open_Text.style.display='none'; Codehighlighter1_561_595_Closed_Image.style.display='inline'; Codehighlighter1_561_595_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_561_595_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_561_595_Closed_Text.style.display='none'; Codehighlighter1_561_595_Open_Image.style.display='inline'; Codehighlighter1_561_595_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />            </span><span style="color: #0000ff">while</span><span style="color: #000000">(k</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 id="Codehighlighter1_561_595_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_561_595_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                k</span><span style="color: #000000">/=</span><span style="color: #000000">5</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                s</span><span style="color: #000000">+=</span><span style="color: #000000">k;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            System.out.println(s);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/291994.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-20 20:09 <a href="http://m.tkk7.com/DreamAngel/articles/291994.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ450錛圗normous Input Test錛?/title><link>http://m.tkk7.com/DreamAngel/articles/291748.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Wed, 19 Aug 2009 02:12:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/291748.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/291748.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/291748.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/291748.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/291748.html</trackback:ping><description><![CDATA[<p><a >http://www.spoj.pl/problems/INTEST/</a></p> 瑕佺偣錛氱粺璁¤緭鍏ョ殑n涓暣鏁頒腑鏈夊嚑涓彲浠ヨk鏁撮櫎銆? <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_60_657_Open_Image" onclick="this.style.display='none'; Codehighlighter1_60_657_Open_Text.style.display='none'; Codehighlighter1_60_657_Closed_Image.style.display='inline'; Codehighlighter1_60_657_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_60_657_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_60_657_Closed_Text.style.display='none'; Codehighlighter1_60_657_Open_Image.style.display='inline'; Codehighlighter1_60_657_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_450</span><span id="Codehighlighter1_60_657_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_60_657_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_127_655_Open_Image" onclick="this.style.display='none'; Codehighlighter1_127_655_Open_Text.style.display='none'; Codehighlighter1_127_655_Closed_Image.style.display='inline'; Codehighlighter1_127_655_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_127_655_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_127_655_Closed_Text.style.display='none'; Codehighlighter1_127_655_Open_Image.style.display='inline'; Codehighlighter1_127_655_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_127_655_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_127_655_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));        <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        String line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        StringTokenizer st </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringTokenizer(line);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> n </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(st.nextToken());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> k </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(st.nextToken());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,x,t</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_472_621_Open_Image" onclick="this.style.display='none'; Codehighlighter1_472_621_Open_Text.style.display='none'; Codehighlighter1_472_621_Closed_Image.style.display='inline'; Codehighlighter1_472_621_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_472_621_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_472_621_Closed_Text.style.display='none'; Codehighlighter1_472_621_Open_Image.style.display='inline'; Codehighlighter1_472_621_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</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">)</span><span id="Codehighlighter1_472_621_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_472_621_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            st </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringTokenizer(line);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            x </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(st.nextToken());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(x</span><span style="color: #000000">%</span><span style="color: #000000">k</span><span style="color: #000000">==</span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                t</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        System.out.println(t);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/291748.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-19 10:12 <a href="http://m.tkk7.com/DreamAngel/articles/291748.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ1錛圠ife, the Universe, and Everything錛?/title><link>http://m.tkk7.com/DreamAngel/articles/291700.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Tue, 18 Aug 2009 12:57:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/291700.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/291700.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/291700.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/291700.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/291700.html</trackback:ping><description><![CDATA[<p><a >http://www.spoj.pl/problems/TEST/</a><br /> 瑕佺偣錛氫竴琛屼竴琛屽湴灝嗘爣鍑嗚緭鍏ュ師鏍峰鍒跺埌鏍囧噯杈撳嚭鐩村埌閬囧埌涓琛屼負(fù)“42”涓烘銆?/p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_58_403_Open_Image" onclick="this.style.display='none'; Codehighlighter1_58_403_Open_Text.style.display='none'; Codehighlighter1_58_403_Closed_Image.style.display='inline'; Codehighlighter1_58_403_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_58_403_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_58_403_Closed_Text.style.display='none'; Codehighlighter1_58_403_Open_Image.style.display='inline'; Codehighlighter1_58_403_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_1</span><span id="Codehighlighter1_58_403_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_58_403_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_125_401_Open_Image" onclick="this.style.display='none'; Codehighlighter1_125_401_Open_Text.style.display='none'; Codehighlighter1_125_401_Closed_Image.style.display='inline'; Codehighlighter1_125_401_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_125_401_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_125_401_Closed_Text.style.display='none'; Codehighlighter1_125_401_Open_Image.style.display='inline'; Codehighlighter1_125_401_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_125_401_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_125_401_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />           String s </span><span style="color: #000000">=</span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />          </span><span style="color: #0000ff">while</span><span style="color: #000000">((s </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine())</span><span style="color: #000000">!=</span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_311_395_Open_Image" onclick="this.style.display='none'; Codehighlighter1_311_395_Open_Text.style.display='none'; Codehighlighter1_311_395_Closed_Image.style.display='inline'; Codehighlighter1_311_395_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_311_395_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_311_395_Closed_Text.style.display='none'; Codehighlighter1_311_395_Open_Image.style.display='inline'; Codehighlighter1_311_395_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span id="Codehighlighter1_311_395_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_311_395_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(s.equals(</span><span style="color: #000000">"</span><span style="color: #000000">42</span><span style="color: #000000">"</span><span style="color: #000000">))<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            System.out.println(s);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/291700.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-18 20:57 <a href="http://m.tkk7.com/DreamAngel/articles/291700.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SPOJ42錛圓dding Reversed Numbers錛?/title><link>http://m.tkk7.com/DreamAngel/articles/291508.html</link><dc:creator>椋炵繑澶╀嬌</dc:creator><author>椋炵繑澶╀嬌</author><pubDate>Mon, 17 Aug 2009 07:57:00 GMT</pubDate><guid>http://m.tkk7.com/DreamAngel/articles/291508.html</guid><wfw:comment>http://m.tkk7.com/DreamAngel/comments/291508.html</wfw:comment><comments>http://m.tkk7.com/DreamAngel/articles/291508.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/DreamAngel/comments/commentRss/291508.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/DreamAngel/services/trackbacks/291508.html</trackback:ping><description><![CDATA[<a >http://www.spoj.pl/problems/ADDREV/</a><br /> 瑕佺偣錛氳綆?涓暣鏁拌漿緗悗鐨勫拰鐨勮漿緗紝鏈鍚庣粨鏋滄槸澶氫釜0鐨勬儏鍐典笅搴旇緭鍑?銆? <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_59_1118_Open_Image" onclick="this.style.display='none'; Codehighlighter1_59_1118_Open_Text.style.display='none'; Codehighlighter1_59_1118_Closed_Image.style.display='inline'; Codehighlighter1_59_1118_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_59_1118_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_59_1118_Closed_Text.style.display='none'; Codehighlighter1_59_1118_Open_Image.style.display='inline'; Codehighlighter1_59_1118_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> SPOJ_42</span><span id="Codehighlighter1_59_1118_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_59_1118_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </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 rgs[]) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception<br /> <img id="Codehighlighter1_126_1116_Open_Image" onclick="this.style.display='none'; Codehighlighter1_126_1116_Open_Text.style.display='none'; Codehighlighter1_126_1116_Closed_Image.style.display='inline'; Codehighlighter1_126_1116_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_126_1116_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_126_1116_Closed_Text.style.display='none'; Codehighlighter1_126_1116_Open_Image.style.display='inline'; Codehighlighter1_126_1116_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span id="Codehighlighter1_126_1116_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_126_1116_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedReader stdin </span><span style="color: #000000">=</span><span style="color: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedReader(<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">new</span><span style="color: #000000"> InputStreamReader(System.in));        <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        String line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        StringTokenizer st </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringTokenizer(line);   <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> i,j,n </span><span style="color: #000000">=</span><span style="color: #000000"> Integer.parseInt(st.nextToken());<br /> <img id="Codehighlighter1_413_1110_Open_Image" onclick="this.style.display='none'; Codehighlighter1_413_1110_Open_Text.style.display='none'; Codehighlighter1_413_1110_Closed_Image.style.display='inline'; Codehighlighter1_413_1110_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_413_1110_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_413_1110_Closed_Text.style.display='none'; Codehighlighter1_413_1110_Open_Image.style.display='inline'; Codehighlighter1_413_1110_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</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">)</span><span id="Codehighlighter1_413_1110_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_413_1110_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            line </span><span style="color: #000000">=</span><span style="color: #000000"> stdin.readLine();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            st </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringTokenizer(line);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            StringBuilder t1</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> StringBuilder(st.nextToken());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            StringBuilder t2</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> StringBuilder(st.nextToken());<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            String x</span><span style="color: #000000">=</span><span style="color: #000000">t1.reverse().toString();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            String y</span><span style="color: #000000">=</span><span style="color: #000000">t2.reverse().toString();<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> m</span><span style="color: #000000">=</span><span style="color: #000000">Integer.parseInt(x)</span><span style="color: #000000">+</span><span style="color: #000000">Integer.parseInt(y);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            String z</span><span style="color: #000000">=</span><span style="color: #000000">String.valueOf(m);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            StringBuilder t3</span><span style="color: #000000">=</span><span style="color: #0000ff">new</span><span style="color: #000000"> StringBuilder(z);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            z</span><span style="color: #000000">=</span><span style="color: #000000">t3.reverse().toString();<br /> <img id="Codehighlighter1_876_927_Open_Image" onclick="this.style.display='none'; Codehighlighter1_876_927_Open_Text.style.display='none'; Codehighlighter1_876_927_Closed_Image.style.display='inline'; Codehighlighter1_876_927_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_876_927_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_876_927_Closed_Text.style.display='none'; Codehighlighter1_876_927_Open_Image.style.display='inline'; Codehighlighter1_876_927_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">for</span><span style="color: #000000">(j</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">;j</span><span style="color: #000000"><</span><span style="color: #000000">z.length();j</span><span style="color: #000000">++</span><span style="color: #000000">)</span><span id="Codehighlighter1_876_927_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_876_927_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">if</span><span style="color: #000000">(z.charAt(j)</span><span style="color: #000000">!=</span><span style="color: #000000">'</span><span style="color: #000000">0</span><span style="color: #000000">'</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    </span><span style="color: #0000ff">break</span><span style="color: #000000">;<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">if</span><span style="color: #000000">(j</span><span style="color: #000000">==</span><span style="color: #000000">z.length())<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                System.out.println(</span><span style="color: #000000">"</span><span style="color: #000000">0</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img id="Codehighlighter1_995_1103_Open_Image" onclick="this.style.display='none'; Codehighlighter1_995_1103_Open_Text.style.display='none'; Codehighlighter1_995_1103_Closed_Image.style.display='inline'; Codehighlighter1_995_1103_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_995_1103_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_995_1103_Closed_Text.style.display='none'; Codehighlighter1_995_1103_Open_Image.style.display='inline'; Codehighlighter1_995_1103_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">else</span><span id="Codehighlighter1_995_1103_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://m.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_995_1103_Open_Text"><span style="color: #000000">{<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                </span><span style="color: #0000ff">for</span><span style="color: #000000">(;j</span><span style="color: #000000"><</span><span style="color: #000000">z.length();j</span><span style="color: #000000">++</span><span style="color: #000000">)<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                    System.out.print(z.charAt(j));<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                System.out.println(</span><span style="color: #000000">""</span><span style="color: #000000">);<br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span></div> <img src ="http://m.tkk7.com/DreamAngel/aggbug/291508.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/DreamAngel/" target="_blank">椋炵繑澶╀嬌</a> 2009-08-17 15:57 <a href="http://m.tkk7.com/DreamAngel/articles/291508.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://www045888.com" target="_blank">亚洲va在线va天堂va手机</a>| <a href="http://wwwk47.com" target="_blank">亚洲性线免费观看视频成熟</a>| <a href="http://www19977.com" target="_blank">avtt天堂网手机版亚洲</a>| <a href="http://siminglighting.com" target="_blank">国产精品亚洲а∨天堂2021</a>| <a href="http://cqtjqcc.com" target="_blank">成人电影在线免费观看</a>| <a href="http://41xjj.com" target="_blank">蜜臀91精品国产免费观看</a>| <a href="http://sewuji.com" target="_blank">亚洲AV无码久久精品成人</a>| <a href="http://sdzsx.com" target="_blank">亚洲熟女www一区二区三区</a>| <a href="http://zjhmpaper.com" target="_blank">99re8这里有精品热视频免费</a>| <a href="http://zblinghang.com" target="_blank">真人做人试看60分钟免费视频</a>| <a href="http://www-36664.com" target="_blank">免费人成年轻人电影</a>| <a href="http://gz-shunan.com" target="_blank">亚洲视频小说图片</a>| <a href="http://32-k.com" target="_blank">九九九精品视频免费</a>| <a href="http://628669.com" target="_blank">国产桃色在线成免费视频</a>| <a href="http://cqshangshu.com" target="_blank">亚洲性猛交XXXX</a>| <a href="http://oakuu.com" target="_blank">男人的天堂av亚洲一区2区</a>| <a href="http://323c.com" target="_blank">最近免费视频中文字幕大全</a>| <a href="http://xfmkt.com" target="_blank">亚洲片一区二区三区</a>| <a href="http://sxhengshan.com" target="_blank">狠狠色香婷婷久久亚洲精品</a>| <a href="http://lhtjdj.com" target="_blank">91在线免费观看</a>| <a href="http://44168888.com" target="_blank">国产免费观看a大片的网站</a>| <a href="http://715686.com" target="_blank">亚洲一级免费视频</a>| <a href="http://schygfz.com" target="_blank">国产成人免费ā片在线观看老同学 </a>| <a href="http://www6661126.com" target="_blank">亚洲一本综合久久</a>| <a href="http://34007c.com" target="_blank">特级毛片全部免费播放a一级</a>| <a href="http://www-44455588.com" target="_blank">最近中文字幕无免费</a>| <a href="http://yy6653.com" target="_blank">一本色道久久综合亚洲精品高清 </a>| <a href="http://1444000.com" target="_blank">亚洲人成伊人成综合网久久</a>| <a href="http://726zh.com" target="_blank">中文字幕在线视频免费观看</a>| <a href="http://czdlglass.com" target="_blank">暖暖日本免费在线视频</a>| <a href="http://arkinbokis.com" target="_blank">久久亚洲AV成人无码国产</a>| <a href="http://www-006688.com" target="_blank">一级做a爰全过程免费视频毛片</a>| <a href="http://wwwyy763.com" target="_blank">24小时免费直播在线观看</a>| <a href="http://bxd888.com" target="_blank">亚洲精品高清视频</a>| <a href="http://caita88.com" target="_blank">国产黄色免费观看</a>| <a href="http://ksyanhui.com" target="_blank">国产亚洲福利一区二区免费看</a>| <a href="http://zjtuhui.com" target="_blank">亚洲免费在线视频观看</a>| <a href="http://beijinzhongliuyiyuan.com" target="_blank">国产拍拍拍无码视频免费</a>| <a href="http://0755haoma.com" target="_blank">亚洲阿v天堂在线2017免费</a>| <a href="http://tlyihong.com" target="_blank">亚洲熟妇无码AV不卡在线播放</a>| <a href="http://fenglengqi.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>