锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲欧洲三级电影,欧美体内谢she精2性欧美,欧美在线观看网站http://www.shnenglu.com/polaris/category/3304.htmlzh-cnTue, 20 May 2008 11:09:17 GMTTue, 20 May 2008 11:09:17 GMT60鏈闀垮縐板瓙搴忓垪闂錛圠ongest Symmetric Sequence錛?/title><link>http://www.shnenglu.com/polaris/archive/2007/06/29/27232.html</link><dc:creator>鍝堣儢澶?/dc:creator><author>鍝堣儢澶?/author><pubDate>Fri, 29 Jun 2007 09:12:00 GMT</pubDate><guid>http://www.shnenglu.com/polaris/archive/2007/06/29/27232.html</guid><wfw:comment>http://www.shnenglu.com/polaris/comments/27232.html</wfw:comment><comments>http://www.shnenglu.com/polaris/archive/2007/06/29/27232.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/polaris/comments/commentRss/27232.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/polaris/services/trackbacks/27232.html</trackback:ping><description><![CDATA[<img style="WIDTH: 575px; HEIGHT: 855px" height=855 alt="" src="http://www.shnenglu.com/images/cppblog_com/polaris/lss.JPG" width=575 border=0> <img src ="http://www.shnenglu.com/polaris/aggbug/27232.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/polaris/" target="_blank">鍝堣儢澶?/a> 2007-06-29 17:12 <a href="http://www.shnenglu.com/polaris/archive/2007/06/29/27232.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>娉靛紩鐞嗭紙Pumping Lemma錛?/title><link>http://www.shnenglu.com/polaris/archive/2007/06/28/27146.html</link><dc:creator>鍝堣儢澶?/dc:creator><author>鍝堣儢澶?/author><pubDate>Thu, 28 Jun 2007 07:58:00 GMT</pubDate><guid>http://www.shnenglu.com/polaris/archive/2007/06/28/27146.html</guid><wfw:comment>http://www.shnenglu.com/polaris/comments/27146.html</wfw:comment><comments>http://www.shnenglu.com/polaris/archive/2007/06/28/27146.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/polaris/comments/commentRss/27146.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/polaris/services/trackbacks/27146.html</trackback:ping><description><![CDATA[<p><img height=768 alt="" src="http://www.shnenglu.com/images/cppblog_com/polaris/pumping_lemma2.JPG" width=663 border=0></p> <img src ="http://www.shnenglu.com/polaris/aggbug/27146.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/polaris/" target="_blank">鍝堣儢澶?/a> 2007-06-28 15:58 <a href="http://www.shnenglu.com/polaris/archive/2007/06/28/27146.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>閫氶厤絎﹀尮閰嶇畻娉?/title><link>http://www.shnenglu.com/polaris/archive/2007/06/28/27144.html</link><dc:creator>鍝堣儢澶?/dc:creator><author>鍝堣儢澶?/author><pubDate>Thu, 28 Jun 2007 07:37:00 GMT</pubDate><guid>http://www.shnenglu.com/polaris/archive/2007/06/28/27144.html</guid><wfw:comment>http://www.shnenglu.com/polaris/comments/27144.html</wfw:comment><comments>http://www.shnenglu.com/polaris/archive/2007/06/28/27144.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/polaris/comments/commentRss/27144.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/polaris/services/trackbacks/27144.html</trackback:ping><description><![CDATA[<p>閫氶厤絎﹀尮閰嶅睘浜庢鍒欒〃杈懼紡鍖歸厤鐨勪竴縐嶇壒孌婃儏鍐碉紝瀹冨寘鍚袱縐嶉氶厤瀛楃錛?鍜?銆?/p> <p>鍏朵腑閫氶厤絎?* 琛ㄧず鍙互鍖歸厤0涓垨澶氫釜浠繪剰鐨勫瓧絎︼紱</p> <p>鍏朵腑閫氶厤絎?? 琛ㄧず鍙互鍖歸厤0涓垨1涓換鎰忓瓧絎︺?/p> <p>濡傛灉涓嶆兂瀵歸氶厤鐨勬ā寮忚繘琛岄澶勭悊錛屽彲浠ヤ嬌鐢ㄥ涓嬮掑綊鐨剋ildcard鍖歸厤錛屽彧涓嶈繃榪欑鍖歸厤鏂瑰紡姣旇緝浣庢晥銆傚叾瀹烇紝浣嶅茍琛岀畻娉?bit-parallel)綆楁硶鏄鐞嗛氶厤絎﹀尮閰嶇殑涓縐嶆湁鏁堟妧鏈紝鎴戜滑灝嗗彟鏂囦粙緇嶃?/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 id=Codehighlighter1_0_149_Open_Image onclick="this.style.display='none'; Codehighlighter1_0_149_Open_Text.style.display='none'; Codehighlighter1_0_149_Closed_Image.style.display='inline'; Codehighlighter1_0_149_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_0_149_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_0_149_Closed_Text.style.display='none'; Codehighlighter1_0_149_Open_Image.style.display='inline'; Codehighlighter1_0_149_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top><span id=Codehighlighter1_0_149_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">/**/</span><span id=Codehighlighter1_0_149_Open_Text><span style="COLOR: #008000">/*</span><span style="COLOR: #008000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>recursive wildcard matching <br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>* : match zero or more characters;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>? : match zero or one character.<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>return value:<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>1 : match success.<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>0 : no match.<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top></span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> wildcard(</span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> pat, </span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> str)<br><img id=Codehighlighter1_200_649_Open_Image onclick="this.style.display='none'; Codehighlighter1_200_649_Open_Text.style.display='none'; Codehighlighter1_200_649_Closed_Image.style.display='inline'; Codehighlighter1_200_649_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_200_649_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_200_649_Closed_Text.style.display='none'; Codehighlighter1_200_649_Open_Image.style.display='inline'; Codehighlighter1_200_649_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_200_649_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_200_649_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">str </span><span style="COLOR: #000000">&&</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">pat) <br><img id=Codehighlighter1_223_572_Open_Image onclick="this.style.display='none'; Codehighlighter1_223_572_Open_Text.style.display='none'; Codehighlighter1_223_572_Closed_Image.style.display='inline'; Codehighlighter1_223_572_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_223_572_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_223_572_Closed_Text.style.display='none'; Codehighlighter1_223_572_Open_Image.style.display='inline'; Codehighlighter1_223_572_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top></span><span id=Codehighlighter1_223_572_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_223_572_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>   </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">pat</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 id=Codehighlighter1_245_311_Open_Image onclick="this.style.display='none'; Codehighlighter1_245_311_Open_Text.style.display='none'; Codehighlighter1_245_311_Closed_Image.style.display='inline'; Codehighlighter1_245_311_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_245_311_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_245_311_Closed_Text.style.display='none'; Codehighlighter1_245_311_Open_Image.style.display='inline'; Codehighlighter1_245_311_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>   </span><span id=Codehighlighter1_245_311_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_245_311_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(wildcard(pat</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">, str)) </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    str</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    pat</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>   }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>   </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">pat</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 id=Codehighlighter1_338_501_Open_Image onclick="this.style.display='none'; Codehighlighter1_338_501_Open_Text.style.display='none'; Codehighlighter1_338_501_Closed_Image.style.display='inline'; Codehighlighter1_338_501_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_338_501_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_338_501_Closed_Text.style.display='none'; Codehighlighter1_338_501_Open_Image.style.display='inline'; Codehighlighter1_338_501_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>   </span><span id=Codehighlighter1_338_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_338_501_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">pat</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">pat</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">) pat</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">!*</span><span style="COLOR: #000000">pat) </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">str)<br><img id=Codehighlighter1_426_482_Open_Image onclick="this.style.display='none'; Codehighlighter1_426_482_Open_Text.style.display='none'; Codehighlighter1_426_482_Closed_Image.style.display='inline'; Codehighlighter1_426_482_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_426_482_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_426_482_Closed_Text.style.display='none'; Codehighlighter1_426_482_Open_Image.style.display='inline'; Codehighlighter1_426_482_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_426_482_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_426_482_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>     </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(wildcard(pat, str)) </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>     str</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>   }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>   </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img id=Codehighlighter1_514_570_Open_Image onclick="this.style.display='none'; Codehighlighter1_514_570_Open_Text.style.display='none'; Codehighlighter1_514_570_Closed_Image.style.display='inline'; Codehighlighter1_514_570_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_514_570_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_514_570_Closed_Text.style.display='none'; Codehighlighter1_514_570_Open_Image.style.display='inline'; Codehighlighter1_514_570_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>   </span><span id=Codehighlighter1_514_570_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_514_570_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">pat</span><span style="COLOR: #000000">!=*</span><span style="COLOR: #000000">str) </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    str</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>    pat</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>   }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">str</span><span style="COLOR: #000000">!=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">) </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">pat</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">pat</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">) pat</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">!*</span><span style="COLOR: #000000">pat;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top></span></div> <img src ="http://www.shnenglu.com/polaris/aggbug/27144.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/polaris/" target="_blank">鍝堣儢澶?/a> 2007-06-28 15:37 <a href="http://www.shnenglu.com/polaris/archive/2007/06/28/27144.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>璁$畻鏈澶у叕綰︽暟鍜屾渶灝忓叕鍊嶆暟鐨勬柟娉?/title><link>http://www.shnenglu.com/polaris/archive/2007/01/02/17152.html</link><dc:creator>鍝堣儢澶?/dc:creator><author>鍝堣儢澶?/author><pubDate>Tue, 02 Jan 2007 11:34:00 GMT</pubDate><guid>http://www.shnenglu.com/polaris/archive/2007/01/02/17152.html</guid><wfw:comment>http://www.shnenglu.com/polaris/comments/17152.html</wfw:comment><comments>http://www.shnenglu.com/polaris/archive/2007/01/02/17152.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/polaris/comments/commentRss/17152.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/polaris/services/trackbacks/17152.html</trackback:ping><description><![CDATA[<p>鍦ㄧ紪紼嬩腑錛岀粡甯擱渶瑕佽綆楁渶澶у叕綰︽暟鍜屾渶灝忓叕鍊嶆暟銆傛湰鏂囦粙緇嶈綆椾粬浠殑鏂規硶銆?br>鍦ㄦ暟璁轟腑錛屼袱涓暟a鍜宐鐨勬渶澶у叕綰︽暟璁頒負gcd(a, b)錛屾渶灝忓叕鍊嶆暟璁頒負lcm(a, b)銆?/p> <p>璁$畻鏈澶у叕綰︽暟鐨勭畻娉曟槸Euclid綆楁硶錛屽嵆鎵璋撶殑“杈楄漿鐩擱櫎娉?#8221;錛?/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://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> gcd( </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> b)<br><img id=Codehighlighter1_23_63_Open_Image onclick="this.style.display='none'; Codehighlighter1_23_63_Open_Text.style.display='none'; Codehighlighter1_23_63_Closed_Image.style.display='inline'; Codehighlighter1_23_63_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_23_63_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_23_63_Closed_Text.style.display='none'; Codehighlighter1_23_63_Open_Image.style.display='inline'; Codehighlighter1_23_63_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_23_63_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_23_63_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> (b </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"> a : gcd(b, a </span><span style="COLOR: #000000">%</span><span style="COLOR: #000000"> b);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"> </span></div> <p><br>璇ョ畻娉曠殑鏃墮棿澶嶆潅搴︿負O(log(max(a, b)))錛屽洜鑰屾槸鐩稿綋蹇殑銆?/p> <p>鏍規嵁鍒濈瓑鏁拌鐨勭煡璇嗭細瀵逛簬浠繪剰鐨刟鍜宐錛実cd(a, b) * lcm(a, b)=a*b銆傛嵁姝ゅ緢瀹規槗寰楀埌璁$畻鏈灝忓叕鍊嶆暟鐨勬柟娉曪細</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://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> lcm(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> b)<br><img id=Codehighlighter1_22_48_Open_Image onclick="this.style.display='none'; Codehighlighter1_22_48_Open_Text.style.display='none'; Codehighlighter1_22_48_Closed_Image.style.display='inline'; Codehighlighter1_22_48_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_22_48_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_22_48_Closed_Text.style.display='none'; Codehighlighter1_22_48_Open_Image.style.display='inline'; Codehighlighter1_22_48_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_22_48_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_22_48_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> (a</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">b)</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">gcd(a, b);<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span></div> <p> </p> <p>鍙﹀涓涓綆條cm鐨勬柟娉曟潵鑷猲ewsmth鐨刾rogramming鐗堬紝瀹冨彧鐢ㄥ姞鍑忔硶鍗沖彲瀹屾垚璁$畻錛?</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://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> LCM(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> a, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> b)<br><img id=Codehighlighter1_22_186_Open_Image onclick="this.style.display='none'; Codehighlighter1_22_186_Open_Text.style.display='none'; Codehighlighter1_22_186_Closed_Image.style.display='inline'; Codehighlighter1_22_186_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_22_186_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_22_186_Closed_Text.style.display='none'; Codehighlighter1_22_186_Open_Image.style.display='inline'; Codehighlighter1_22_186_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_22_186_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_22_186_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">a, y</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">b;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> u</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">b, v</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">a;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(x</span><span style="COLOR: #000000">!=</span><span style="COLOR: #000000">y)<br><img id=Codehighlighter1_65_167_Open_Image onclick="this.style.display='none'; Codehighlighter1_65_167_Open_Text.style.display='none'; Codehighlighter1_65_167_Closed_Image.style.display='inline'; Codehighlighter1_65_167_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_65_167_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_65_167_Closed_Text.style.display='none'; Codehighlighter1_65_167_Open_Image.style.display='inline'; Codehighlighter1_65_167_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top></span><span id=Codehighlighter1_65_167_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_65_167_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>     </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(x</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">y)<br><img id=Codehighlighter1_85_116_Open_Image onclick="this.style.display='none'; Codehighlighter1_85_116_Open_Text.style.display='none'; Codehighlighter1_85_116_Closed_Image.style.display='inline'; Codehighlighter1_85_116_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_85_116_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_85_116_Closed_Text.style.display='none'; Codehighlighter1_85_116_Open_Image.style.display='inline'; Codehighlighter1_85_116_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>     </span><span id=Codehighlighter1_85_116_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_85_116_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>      x</span><span style="COLOR: #000000">-=</span><span style="COLOR: #000000">y;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>      v</span><span style="COLOR: #000000">+=</span><span style="COLOR: #000000">u;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>     }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>     </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img id=Codehighlighter1_133_165_Open_Image onclick="this.style.display='none'; Codehighlighter1_133_165_Open_Text.style.display='none'; Codehighlighter1_133_165_Closed_Image.style.display='inline'; Codehighlighter1_133_165_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_133_165_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_133_165_Closed_Text.style.display='none'; Codehighlighter1_133_165_Open_Image.style.display='inline'; Codehighlighter1_133_165_Open_Text.style.display='inline';" src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>     </span><span id=Codehighlighter1_133_165_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://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_133_165_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>      y</span><span style="COLOR: #000000">-=</span><span style="COLOR: #000000">x; <br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top>      u</span><span style="COLOR: #000000">+=</span><span style="COLOR: #000000">v;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>     }</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> (u</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">v)</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">;<br><img src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br><img src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif" align=top></span></div> <img src ="http://www.shnenglu.com/polaris/aggbug/17152.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/polaris/" target="_blank">鍝堣儢澶?/a> 2007-01-02 19:34 <a href="http://www.shnenglu.com/polaris/archive/2007/01/02/17152.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>TopCoder-srm-283-II-3http://www.shnenglu.com/polaris/archive/2006/12/27/16917.html鍝堣儢澶?/dc:creator>鍝堣儢澶?/author>Wed, 27 Dec 2006 12:57:00 GMThttp://www.shnenglu.com/polaris/archive/2006/12/27/16917.htmlhttp://www.shnenglu.com/polaris/comments/16917.htmlhttp://www.shnenglu.com/polaris/archive/2006/12/27/16917.html#Feedback0http://www.shnenglu.com/polaris/comments/commentRss/16917.htmlhttp://www.shnenglu.com/polaris/services/trackbacks/16917.html
Problem Statement
The greatest common divisor (GCD) of two positive integers a and b is the largest integer that evenly divides both a and b. In this problem, you will find the GCD of a positive integer and the factorial of a non-negative integer.

Create a class FactorialGCD with method factGCD which takes an int a and an int b as parameters and returns the GCD of a! (the factorial of a) and b.

#include聽 < utility >
#include聽
< iostream >
using namespace 聽std;

class 聽FactorialGCD
{
public :
int 聽factGCD( int 聽a,聽 int 聽b)聽
{
聽聽unsigned聽
int 聽gcd = 1 ;

聽聽
while (b > 1 )
聽聽
{
聽聽聽unsigned聽
int 聽p;

聽聽聽
for (p = 2 ;聽p * p <= (unsigned聽 int )b聽 && 聽b % p != 0 ;聽p ++ )聽;
聽聽聽聽聽聽聽聽聽聽聽聽
if (b % p != 0 )聽p = b;

聽聽聽
int 聽n = 0 ;
聽聽聽
for (聽;聽b % p == 0 ;聽b /= p)聽n ++ ;

聽聽聽
int 聽m = 0 ;
聽聽聽
for (unsigned聽 int 聽j = a;聽j >= p;聽)聽m += (j /= p);

聽聽聽
for ( int 聽i = 0 ;聽i < min(n,聽m);聽i ++ )聽gcd *= p;
聽聽}


聽聽
return 聽gcd;
聽}

}
;

int 聽main()
{
聽FactorialGCD聽test;

聽cout聽
<< 聽test.factGCD( 5 ,聽 20 )聽 << 聽endl;

聽cout聽
<< 聽test.factGCD( 7 ,聽 5040 )聽 << 聽endl;

聽cout聽
<< 聽test.factGCD( 0 ,聽 2425 )聽 << 聽endl;

聽cout聽
<< 聽test.factGCD( 667024 ,聽 1 )聽 << 聽endl;

聽cout聽
<< 聽test.factGCD( 4 ,聽 40 )聽 << 聽endl;

聽cout聽
<< 聽test.factGCD( 2097711064 ,聽 2147483646 )聽 << 聽endl;

return 1 ;
}




]]>
榪涘埗杞崲http://www.shnenglu.com/polaris/archive/2006/12/22/16754.html鍝堣儢澶?/dc:creator>鍝堣儢澶?/author>Fri, 22 Dec 2006 12:07:00 GMThttp://www.shnenglu.com/polaris/archive/2006/12/22/16754.htmlhttp://www.shnenglu.com/polaris/comments/16754.htmlhttp://www.shnenglu.com/polaris/archive/2006/12/22/16754.html#Feedback0http://www.shnenglu.com/polaris/comments/commentRss/16754.htmlhttp://www.shnenglu.com/polaris/services/trackbacks/16754.html
#include聽
< iostream >
using namespace 聽std;
#include聽
< string .h >

void 聽BaseConv1( char * 聽s,聽 int 聽a,聽 char * 聽t,聽 int 聽b)
{
聽聽聽聽
char * 聽q = t;

聽聽聽聽
while ( * s)
聽聽聽聽
{
聽聽聽聽聽聽聽聽
int 聽r = 0 ;

聽聽聽聽聽聽聽聽
for ( char * 聽p = s;聽 * p;聽p ++ )
聽聽聽聽聽聽聽聽
{
聽聽聽聽聽聽聽聽聽聽聽聽r
= a * r +* p - ' 0 ' ;
聽聽聽聽聽聽聽聽聽聽聽聽
* p = r / b + ' 0 ' ;
聽聽聽聽聽聽聽聽聽聽聽聽r
%= b;
聽聽聽聽聽聽聽聽}

聽聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽
* q ++= r + ' 0 ' ;聽聽聽聽聽聽聽聽

聽聽聽聽聽聽聽聽
while ( * s == ' 0 ' )聽s ++ ;
聽聽聽聽}

聽聽聽聽
聽聽聽聽
* q = ' \0 ' ;

聽聽聽聽
for ( char * 聽u = t,聽 * 聽v = q - 1 ;聽u < v;聽u ++ ,聽v -- )
聽聽聽聽
{
聽聽聽聽聽聽聽聽
char 聽c =* u;
聽聽聽聽聽聽聽聽
* u =* v;
聽聽聽聽聽聽聽聽
* v = c;
聽聽聽聽}

}


void 聽BaseConv2( const char * 聽s,聽 int 聽a,聽 char * 聽t,聽 int 聽b)
{
聽聽聽聽
char * 聽p = t;

聽聽聽聽
for ( * p = ' \0 ' ;聽 * s;聽s ++ )
聽聽聽聽
{
聽聽聽聽聽聽聽聽
int 聽x =* s - ' 0 ' ;

聽聽聽聽聽聽聽聽
for (p = t;聽 * p;聽p ++ )
聽聽聽聽聽聽聽聽
{
聽聽聽聽聽聽聽聽聽聽聽聽x
= a * ( * p - ' 0 ' ) + x;
聽聽聽聽聽聽聽聽聽聽聽聽
* p = x % b + ' 0 ' ;
聽聽聽聽聽聽聽聽聽聽聽聽x
/= b;
聽聽聽聽聽聽聽聽}


聽聽聽聽聽聽聽聽
while (x)
聽聽聽聽聽聽聽聽
{
聽聽聽聽聽聽聽聽聽聽聽聽
* p ++= x % b + ' 0 ' ;
聽聽聽聽聽聽聽聽聽聽聽聽x
/= b;
聽聽聽聽聽聽聽聽}


聽聽聽聽聽聽聽聽
* p = ' \0 ' ;
聽聽聽聽}


聽聽聽聽
for ( char * 聽u = t,聽 * 聽v = p - 1 ;聽u < v;聽u ++ ,聽v -- )
聽聽聽聽
{
聽聽聽聽聽聽聽聽
char 聽c =* u;
聽聽聽聽聽聽聽聽
* u =* v;
聽聽聽聽聽聽聽聽
* v = c;
聽聽聽聽}

}


int 聽main()
{
聽聽聽聽
char 聽s[] = " 987654321014612555422121454541212229852142104542345678901 " ;
聽聽聽聽
char 聽t[ 4096 ];

聽聽聽聽cout聽
<< " s= " << 聽s聽 << 聽endl;
聽聽聽聽BaseConv2(s,聽
10 ,聽t,聽 8 );
聽聽聽聽cout聽
<< " t= " << 聽t聽 << 聽endl;

聽聽聽聽cout聽
<< " s= " << 聽s聽 << 聽endl;
聽聽聽聽BaseConv1(s,聽
10 ,聽t,聽 8 );
聽聽聽聽cout聽
<< " t= " << 聽t聽 << 聽endl;

聽聽聽聽
return 1 ;
}



]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久xxxx| 欧美激情亚洲自拍| 国产精品视频999| 香蕉成人久久| 先锋影音一区二区三区| 国产一区二区三区在线观看免费视频 | 亚洲国产日韩综合一区| 免费在线观看日韩欧美| 亚洲精品在线一区二区| 亚洲美女av网站| 国产精品久久久久aaaa九色| 久久成人18免费观看| 久久精品亚洲一区二区三区浴池| 精品成人一区| 亚洲国产精品一区在线观看不卡| 欧美人成在线| 欧美专区福利在线| 老鸭窝91久久精品色噜噜导演| 亚洲免费成人av| 亚洲男人天堂2024| 亚洲黄色成人久久久| 一区二区三区国产盗摄| 国产自产女人91一区在线观看| 免费高清在线一区| 欧美午夜视频| 欧美成人综合在线| 欧美性一区二区| 欧美成人激情在线| 国产精品视频一二三| 欧美成人精品在线播放| 国产精品日韩一区二区| 老司机精品久久| 国产精品vip| 欧美电影在线播放| 国产日产欧产精品推荐色| 亚洲高清一区二| 国产一区久久| 正在播放欧美视频| 亚洲理论在线观看| 欧美中文字幕久久| 亚洲综合精品四区| 免费在线成人| 久久亚洲欧美| 国产日韩精品视频一区| 91久久国产精品91久久性色| 国产在线视频欧美一区二区三区| 日韩视频精品在线观看| 亚洲高清视频在线| 久久电影一区| 亚洲欧美日韩精品久久久久| 欧美紧缚bdsm在线视频| 麻豆成人在线观看| 国产丝袜一区二区| 亚洲视频每日更新| 一区二区av在线| 欧美激情免费观看| 欧美激情精品久久久| 激情91久久| 久久精品视频在线| 久久综合影音| 极品尤物久久久av免费看| 欧美尤物巨大精品爽| 久久精品主播| 国内自拍一区| 欧美在线啊v一区| 久久久99国产精品免费| 国产一区二区高清视频| 欧美一区二区三区精品| 欧美中在线观看| 国产亚洲精品美女| 欧美在线视频免费观看| 另类av一区二区| 一区二区亚洲精品国产| 久久一区二区视频| 欧美jizz19性欧美| 91久久精品国产91性色tv| 欧美精品久久久久久久| 夜夜躁日日躁狠狠久久88av| 亚洲无线一线二线三线区别av| 欧美日韩在线三区| 亚洲性线免费观看视频成熟| 午夜精品理论片| 国内精品福利| 蜜桃av久久久亚洲精品| 99re6这里只有精品| 亚洲免费在线播放| 国产欧美在线看| 久久久精品性| 亚洲欧洲日本专区| 午夜国产一区| 在线观看视频一区二区| 欧美极品在线播放| 亚洲欧美区自拍先锋| 嫩草伊人久久精品少妇av杨幂| 99精品视频免费观看视频| 国产精品美女久久久久av超清| 欧美一区二区在线播放| 亚洲国产女人aaa毛片在线| 亚洲一级片在线观看| 国产一区亚洲一区| 欧美日韩的一区二区| 亚洲欧美三级伦理| 亚洲国产免费| 久久精品一级爱片| 99av国产精品欲麻豆| 国产亚洲女人久久久久毛片| 欧美激情精品久久久久久黑人 | 欧美顶级少妇做爰| 亚洲一区999| 亚洲国产另类 国产精品国产免费| 欧美日韩免费观看中文| 欧美一区激情视频在线观看| 亚洲欧洲精品一区二区三区不卡 | 日韩手机在线导航| 久久天堂成人| 午夜视频一区| 日韩网站在线观看| 伊人久久噜噜噜躁狠狠躁| 国产精品嫩草影院一区二区| 欧美jizz19hd性欧美| 欧美在线视频播放| 亚洲永久免费av| 亚洲日本aⅴ片在线观看香蕉| 久久爱91午夜羞羞| 亚洲尤物精选| 日韩视频二区| 在线看片第一页欧美| 国产欧美日韩综合| 国产精品麻豆成人av电影艾秋| 女同性一区二区三区人了人一 | 亚洲三级影院| 蜜桃av一区二区在线观看| 欧美一区网站| 亚洲欧美中文日韩在线| av成人免费在线| 99视频国产精品免费观看| 在线成人av网站| 国内精品久久久久久 | 蜜臀av国产精品久久久久| 欧美伊人精品成人久久综合97| 亚洲免费视频成人| 亚洲男人第一av网站| 在线一区二区三区做爰视频网站 | 一本色道婷婷久久欧美| 亚洲欧洲在线视频| 亚洲国产成人高清精品| 亚洲第一成人在线| 欧美激情女人20p| 亚洲电影观看| 亚洲国产一区二区a毛片| 亚洲国产精品一区二区www| 亚洲国产成人久久| 亚洲国产经典视频| 91久久夜色精品国产九色| 亚洲国产精品一区二区三区| 最新国产精品拍自在线播放| 亚洲区在线播放| 亚洲私拍自拍| 性做久久久久久| 久久福利影视| 欧美成人资源网| 欧美啪啪成人vr| 国产乱码精品1区2区3区| 国产一区二区三区直播精品电影 | 国产原创一区二区| 一区在线观看视频| 亚洲欧洲偷拍精品| 亚洲一区视频在线| 久久爱www| 亚洲第一二三四五区| 99这里有精品| 欧美亚洲网站| 欧美插天视频在线播放| 国产精品扒开腿爽爽爽视频| 国产一区二区电影在线观看| 最新国产精品拍自在线播放| 中文久久精品| 久久久久久久久综合| 亚洲国产一区二区三区高清| 亚洲自拍偷拍视频| 毛片一区二区三区| 国产精品视频免费在线观看| 在线看欧美日韩| 亚洲影视在线| 亚洲第一黄色| 亚洲欧美制服中文字幕| 欧美搞黄网站| 狠狠色伊人亚洲综合成人| 夜夜嗨av色综合久久久综合网| 欧美在线亚洲| 亚洲精品视频在线| 久久久久久午夜| 国产精品免费一区豆花| 亚洲第一页在线| 午夜精品亚洲| 亚洲精品乱码久久久久久按摩观| 欧美一区三区三区高中清蜜桃| 欧美日韩成人综合在线一区二区 | 国产精品乱子久久久久| 亚洲国产精品免费|