﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-雪竹的天空-最新评论</title><link>http://www.cppblog.com/theorix/CommentsRSS.aspx</link><description>theorix</description><language>zh-cn</language><pubDate>Wed, 23 Sep 2009 13:33:12 GMT</pubDate><lastBuildDate>Wed, 23 Sep 2009 13:33:12 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: pku 3687 Labeling Balls （ 有点难想的贪心算法    ）[未登录]</title><link>http://www.cppblog.com/theorix/archive/2009/09/01/60965.html#94942</link><dc:creator>111</dc:creator><author>111</author><pubDate>Tue, 01 Sep 2009 01:10:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/09/01/60965.html#94942</guid><description><![CDATA[牛！<img src ="http://www.cppblog.com/theorix/aggbug/94942.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">111</a> 2009-09-01 09:10 <a href="http://www.cppblog.com/theorix/archive/2009/09/01/60965.html#94942#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数独的 Dancing links  解法（含源代码）</title><link>http://www.cppblog.com/theorix/archive/2009/06/03/60553.html#86688</link><dc:creator>doxi</dc:creator><author>doxi</author><pubDate>Wed, 03 Jun 2009 12:42:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/06/03/60553.html#86688</guid><description><![CDATA[<br>想问问，但如何把数独问题转化为精确覆盖问题 谢谢大牛指点  doxi  <br>  我的邮箱 ;  fanxicai2000@163.com<img src ="http://www.cppblog.com/theorix/aggbug/86688.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">doxi</a> 2009-06-03 20:42 <a href="http://www.cppblog.com/theorix/archive/2009/06/03/60553.html#86688#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数独的 Dancing links  解法（含源代码）</title><link>http://www.cppblog.com/theorix/archive/2009/06/03/60553.html#86687</link><dc:creator>doxi</dc:creator><author>doxi</author><pubDate>Wed, 03 Jun 2009 12:41:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/06/03/60553.html#86687</guid><description><![CDATA[想问问，但如何把数独问题转化为精确覆盖问题  谢谢大牛指点<img src ="http://www.cppblog.com/theorix/aggbug/86687.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">doxi</a> 2009-06-03 20:41 <a href="http://www.cppblog.com/theorix/archive/2009/06/03/60553.html#86687#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: pku 3687 Labeling Balls （ 有点难想的贪心算法    ）</title><link>http://www.cppblog.com/theorix/archive/2009/05/13/60965.html#82855</link><dc:creator>sdfsf</dc:creator><author>sdfsf</author><pubDate>Wed, 13 May 2009 11:21:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/05/13/60965.html#82855</guid><description><![CDATA[不错，很简洁！！<img src ="http://www.cppblog.com/theorix/aggbug/82855.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">sdfsf</a> 2009-05-13 19:21 <a href="http://www.cppblog.com/theorix/archive/2009/05/13/60965.html#82855#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数独的 Dancing links  解法（含源代码）</title><link>http://www.cppblog.com/theorix/archive/2009/02/25/60553.html#74884</link><dc:creator>ttylikl</dc:creator><author>ttylikl</author><pubDate>Wed, 25 Feb 2009 06:37:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/02/25/60553.html#74884</guid><description><![CDATA[我将上面的代码移植到C#竟然出了问题，真晕啊。。。<img src ="http://www.cppblog.com/theorix/aggbug/74884.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">ttylikl</a> 2009-02-25 14:37 <a href="http://www.cppblog.com/theorix/archive/2009/02/25/60553.html#74884#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数独的 Dancing links  解法（含源代码）</title><link>http://www.cppblog.com/theorix/archive/2009/02/08/60553.html#73247</link><dc:creator>stranger</dc:creator><author>stranger</author><pubDate>Sun, 08 Feb 2009 15:18:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/02/08/60553.html#73247</guid><description><![CDATA[<a target="_new" href="http://en.wikipedia.org/wiki/Exact_cover">http://en.wikipedia.org/wiki/Exact_cover</a><img src ="http://www.cppblog.com/theorix/aggbug/73247.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">stranger</a> 2009-02-08 23:18 <a href="http://www.cppblog.com/theorix/archive/2009/02/08/60553.html#73247#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: （转）Ubuntu 8.10(Intrepid Ibex)安装配置大全 </title><link>http://www.cppblog.com/theorix/archive/2009/01/25/69994.html#72573</link><dc:creator>yuan</dc:creator><author>yuan</author><pubDate>Sun, 25 Jan 2009 08:29:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2009/01/25/69994.html#72573</guid><description><![CDATA[顶！！！<img src ="http://www.cppblog.com/theorix/aggbug/72573.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">yuan</a> 2009-01-25 16:29 <a href="http://www.cppblog.com/theorix/archive/2009/01/25/69994.html#72573#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: （收藏）Linux 十大免费游戏软件</title><link>http://www.cppblog.com/theorix/archive/2008/12/26/70382.html#70468</link><dc:creator>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</dc:creator><author>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</author><pubDate>Fri, 26 Dec 2008 12:31:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/12/26/70382.html#70468</guid><description><![CDATA[<a target="_new" href="http://forum.72dpiarmy.com/viewtopic.php?f=1&amp;t=7017">http://forum.72dpiarmy.com/viewtopic.php?f=1&amp;t=7017</a><img src ="http://www.cppblog.com/theorix/aggbug/70468.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">&lt;font color=&quot;red&quot;&gt;雪竹的天空( theorix )</a> 2008-12-26 20:31 <a href="http://www.cppblog.com/theorix/archive/2008/12/26/70382.html#70468#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: （收藏）Linux 十大免费游戏软件</title><link>http://www.cppblog.com/theorix/archive/2008/12/26/70382.html#70383</link><dc:creator>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</dc:creator><author>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</author><pubDate>Fri, 26 Dec 2008 02:24:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/12/26/70382.html#70383</guid><description><![CDATA[免费游戏列表：<br><a target="_new" href="http://www.icculus.org/lgfaq/gamelist.php?license=free">http://www.icculus.org/lgfaq/gamelist.php?license=free</a><img src ="http://www.cppblog.com/theorix/aggbug/70383.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">&lt;font color=&quot;red&quot;&gt;雪竹的天空( theorix )</a> 2008-12-26 10:24 <a href="http://www.cppblog.com/theorix/archive/2008/12/26/70382.html#70383#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数独的 Dancing links  解法（含源代码）</title><link>http://www.cppblog.com/theorix/archive/2008/11/27/60553.html#67998</link><dc:creator>梅雪香</dc:creator><author>梅雪香</author><pubDate>Thu, 27 Nov 2008 08:39:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/11/27/60553.html#67998</guid><description><![CDATA[您好，向您请教一下，这个程序的输入数据格式是怎么样的呢？<br>另外，我基本了解了dancing links的求解算法，但不太清楚如何把数独问题转化为精确覆盖问题，也就是怎么初始化成为729行324列的exact cover 问题。<br>能不能把这个转换过程的思想描述一下呢？<br>如肯赐教请发邮件到： mxx@vip.qq.com<br>先谢谢您了.<img src ="http://www.cppblog.com/theorix/aggbug/67998.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">梅雪香</a> 2008-11-27 16:39 <a href="http://www.cppblog.com/theorix/archive/2008/11/27/60553.html#67998#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: pku 3687 Labeling Balls （ 有点难想的贪心算法    ）</title><link>http://www.cppblog.com/theorix/archive/2008/09/04/60965.html#60967</link><dc:creator>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</dc:creator><author>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</author><pubDate>Thu, 04 Sep 2008 15:15:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/09/04/60965.html#60967</guid><description><![CDATA[之前想了两种贪心都不对 原来是要倒着贪心<img src ="http://www.cppblog.com/theorix/aggbug/60967.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">&lt;font color=&quot;red&quot;&gt;雪竹的天空( theorix )</a> 2008-09-04 23:15 <a href="http://www.cppblog.com/theorix/archive/2008/09/04/60965.html#60967#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数独的 Dancing links  解法（源代码）</title><link>http://www.cppblog.com/theorix/archive/2008/09/01/60553.html#60555</link><dc:creator>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</dc:creator><author>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</author><pubDate>Sun, 31 Aug 2008 18:12:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/09/01/60553.html#60555</guid><description><![CDATA[TLE了几天终于把这道数独题过了<br>呵呵 写的还不错<img src ="http://www.cppblog.com/theorix/aggbug/60555.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">&lt;font color=&quot;red&quot;&gt;雪竹的天空( theorix )</a> 2008-09-01 02:12 <a href="http://www.cppblog.com/theorix/archive/2008/09/01/60553.html#60555#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 一些题目的解题报告</title><link>http://www.cppblog.com/theorix/archive/2008/08/31/60407.html#60471</link><dc:creator>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</dc:creator><author>&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;雪竹的天空( theorix )</author><pubDate>Sat, 30 Aug 2008 16:37:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/08/31/60407.html#60471</guid><description><![CDATA[另外 dp[i][j]也可简化为一维的<img src ="http://www.cppblog.com/theorix/aggbug/60471.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">&lt;font color=&quot;red&quot;&gt;雪竹的天空( theorix )</a> 2008-08-31 00:37 <a href="http://www.cppblog.com/theorix/archive/2008/08/31/60407.html#60471#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  一些题目的解题报告</title><link>http://www.cppblog.com/theorix/archive/2008/08/30/60407.html#60445</link><dc:creator>theorix</dc:creator><author>theorix</author><pubDate>Sat, 30 Aug 2008 09:05:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/08/30/60407.html#60445</guid><description><![CDATA[<div>你好，这道题可以二分+DP做；</div><br><div>可用cost[i][j]表示第i个人在T时间内做完j个a种任务最多还可做的b种任务数</div><br><div>dp[i][j]表示前i个人在T时间内做完j个a任务最多还可做的b种任务数</div><br><div>dp[i][j]=max(dp[i-1][k]+cost[i][j-k]);</div><br><div>&nbsp;</div><br><div><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"><span style="COLOR: #008080">&nbsp;1</span><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000">#include</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">iostream</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">&nbsp;2</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000">&nbsp;</span><span style="COLOR: #0000ff">namespace</span><span style="COLOR: #000000">&nbsp;std;<br></span><span style="COLOR: #008080">&nbsp;3</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;cost[</span><span style="COLOR: #000000">109</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">109</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080">&nbsp;4</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;dp[</span><span style="COLOR: #000000">109</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080">&nbsp;5</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;a[</span><span style="COLOR: #000000">109</span><span style="COLOR: #000000">],b[</span><span style="COLOR: #000000">109</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080">&nbsp;6</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;main()<br></span><span style="COLOR: #008080">&nbsp;7</span><span style="COLOR: #000000"><img id=Codehighlighter1_103_845_Open_Image onclick="this.style.display='none'; Codehighlighter1_103_845_Open_Text.style.display='none'; Codehighlighter1_103_845_Closed_Image.style.display='inline'; Codehighlighter1_103_845_Closed_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_103_845_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_103_845_Closed_Text.style.display='none'; Codehighlighter1_103_845_Open_Image.style.display='inline'; Codehighlighter1_103_845_Open_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ContractedBlock.gif" align=top></span><span id=Codehighlighter1_103_845_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.cppblog.com/images/dot.gif"></span><span id=Codehighlighter1_103_845_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">&nbsp;8</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;ca;<br></span><span style="COLOR: #008080">&nbsp;9</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;scanf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">ca);<br></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(ca</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img id=Codehighlighter1_146_843_Open_Image onclick="this.style.display='none'; Codehighlighter1_146_843_Open_Text.style.display='none'; Codehighlighter1_146_843_Closed_Image.style.display='inline'; Codehighlighter1_146_843_Closed_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_146_843_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_146_843_Closed_Text.style.display='none'; Codehighlighter1_146_843_Open_Image.style.display='inline'; Codehighlighter1_146_843_Open_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</span><span id=Codehighlighter1_146_843_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.cppblog.com/images/dot.gif"></span><span id=Codehighlighter1_146_843_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;i,j,k;<br></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;n,m;<br></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scanf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d%d</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">n,</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">m);<br></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">&lt;=</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">16</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scanf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d%d</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">a[i],</span><span style="COLOR: #000000">&amp;</span><span style="COLOR: #000000">b[i]);<br></span><span style="COLOR: #008080">17</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">&nbsp;low,high,mid;<br></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;low</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;high</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">m</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">a[</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">m</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">b[</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(low</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">high)<br></span><span style="COLOR: #008080">21</span><span style="COLOR: #000000"><img id=Codehighlighter1_316_817_Open_Image onclick="this.style.display='none'; Codehighlighter1_316_817_Open_Text.style.display='none'; Codehighlighter1_316_817_Closed_Image.style.display='inline'; Codehighlighter1_316_817_Closed_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_316_817_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_316_817_Closed_Text.style.display='none'; Codehighlighter1_316_817_Open_Image.style.display='inline'; Codehighlighter1_316_817_Open_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id=Codehighlighter1_316_817_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.cppblog.com/images/dot.gif"></span><span id=Codehighlighter1_316_817_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mid</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(low</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">high)</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">&lt;=</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&lt;=</span><span style="COLOR: #000000">m;j</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(mid</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">j</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">a[i]</span><span style="COLOR: #000000">&gt;=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost[i][j]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(mid</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">j</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">a[i])</span><span style="COLOR: #000000">/</span><span style="COLOR: #000000">b[i];<br></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000">&nbsp;<br></span><span style="COLOR: #008080">28</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost[i][j]</span><span style="COLOR: #000000">=-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&lt;=</span><span style="COLOR: #000000">m;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dp[i]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">cost[</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][i];<br></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">&lt;=</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img id=Codehighlighter1_540_765_Open_Image onclick="this.style.display='none'; Codehighlighter1_540_765_Open_Text.style.display='none'; Codehighlighter1_540_765_Closed_Image.style.display='inline'; Codehighlighter1_540_765_Closed_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_540_765_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_540_765_Closed_Text.style.display='none'; Codehighlighter1_540_765_Open_Image.style.display='inline'; Codehighlighter1_540_765_Open_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id=Codehighlighter1_540_765_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.cppblog.com/images/dot.gif"></span><span id=Codehighlighter1_540_765_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">33</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(j</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">m;j</span><span style="COLOR: #000000">&gt;=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;j</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">34</span><span style="COLOR: #000000"><img id=Codehighlighter1_568_731_Open_Image onclick="this.style.display='none'; Codehighlighter1_568_731_Open_Text.style.display='none'; Codehighlighter1_568_731_Closed_Image.style.display='inline'; Codehighlighter1_568_731_Closed_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_568_731_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_568_731_Closed_Text.style.display='none'; Codehighlighter1_568_731_Open_Image.style.display='inline'; Codehighlighter1_568_731_Open_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id=Codehighlighter1_568_731_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.cppblog.com/images/dot.gif"></span><span id=Codehighlighter1_568_731_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">35</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(dp[j]</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">36</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">continue</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">37</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(k</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">m</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">j;k</span><span style="COLOR: #000000">&gt;=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;k</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">38</span><span style="COLOR: #000000"><img id=Codehighlighter1_633_725_Open_Image onclick="this.style.display='none'; Codehighlighter1_633_725_Open_Text.style.display='none'; Codehighlighter1_633_725_Closed_Image.style.display='inline'; Codehighlighter1_633_725_Closed_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_633_725_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_633_725_Closed_Text.style.display='none'; Codehighlighter1_633_725_Open_Image.style.display='inline'; Codehighlighter1_633_725_Open_Text.style.display='inline';" src="http://www.cppblog.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id=Codehighlighter1_633_725_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.cppblog.com/images/dot.gif"></span><span id=Codehighlighter1_633_725_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">39</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(cost[i][k]</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">40</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">continue</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">41</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dp[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">k]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">max(dp[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">k],dp[j]</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">cost[i][k]);<br></span><span style="COLOR: #008080">42</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">43</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">44</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(dp[m]</span><span style="COLOR: #000000">&gt;=</span><span style="COLOR: #000000">m)<br></span><span style="COLOR: #008080">45</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">break</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">46</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">47</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">n)<br></span><span style="COLOR: #008080">48</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;low</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">mid</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">49</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">50</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;high</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">mid;<br></span><span style="COLOR: #008080">51</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">52</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%d\n</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,low);<br></span><span style="COLOR: #008080">53</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">54</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">55</span><span style="COLOR: #000000"><img src="http://www.cppblog.com/images/OutliningIndicators/None.gif" align=top></span></div><br></div><br><img src ="http://www.cppblog.com/theorix/aggbug/60445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">theorix</a> 2008-08-30 17:05 <a href="http://www.cppblog.com/theorix/archive/2008/08/30/60407.html#60445#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  一些题目的解题报告</title><link>http://www.cppblog.com/theorix/archive/2008/08/30/60407.html#60416</link><dc:creator>whitesea</dc:creator><author>whitesea</author><pubDate>Sat, 30 Aug 2008 01:37:00 GMT</pubDate><guid>http://www.cppblog.com/theorix/archive/2008/08/30/60407.html#60416</guid><description><![CDATA[July_24 Software Company中，时间上界T可以枚举，但是你状态方程中也使用了T，感觉不好吧?如过T很大的话，直接挂掉，恐怕连数组都开不出来. <br>我POJ的ID是,whitesea， 望与兄探讨一二？<img src ="http://www.cppblog.com/theorix/aggbug/60416.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/theorix/" target="_blank">whitesea</a> 2008-08-30 09:37 <a href="http://www.cppblog.com/theorix/archive/2008/08/30/60407.html#60416#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>