<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《编程的乐趣》的评论</title>
	<atom:link href="http://www.im502.com/2009/03/13/i-love-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.im502.com/2009/03/13/i-love-php/</link>
	<description>网站开发技术博客 php js css xml ajax mysql</description>
	<lastBuildDate>Mon, 25 Oct 2010 15:08:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>作者：im502</title>
		<link>http://www.im502.com/2009/03/13/i-love-php/comment-page-1/#comment-4247</link>
		<dc:creator>im502</dc:creator>
		<pubDate>Fri, 17 Apr 2009 05:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=127#comment-4247</guid>
		<description>完全正确，我当时就像快速解决问题，没想那么多，确实这样就把循环次数固定了。</description>
		<content:encoded><![CDATA[<p>完全正确，我当时就像快速解决问题，没想那么多，确实这样就把循环次数固定了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：银子</title>
		<link>http://www.im502.com/2009/03/13/i-love-php/comment-page-1/#comment-4246</link>
		<dc:creator>银子</dc:creator>
		<pubDate>Thu, 16 Apr 2009 07:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=127#comment-4246</guid>
		<description>选计算一下可以减小问题的规模..

&lt;?php
$total = 13300;
$p = array(380,580,800,1280,1680);
for($i=0;$i&lt;5;$i++)
{
    $a{$i} = ceil($total/$p[$i]);
}

for($i=1;$i&lt;=$a[4];$i++)
{
    for($j=1;$j&lt;=$a[3];$j++)
        for($k=1;$k&lt;=$a[2];$k++)
            for($x=1;$x&lt;=$a[1];$x++)
                for($y=1;$y</description>
		<content:encoded><![CDATA[<p>选计算一下可以减小问题的规模..</p>
<p>&lt;?php<br />
$total = 13300;<br />
$p = array(380,580,800,1280,1680);<br />
for($i=0;$i&lt;5;$i++)<br />
{<br />
    $a{$i} = ceil($total/$p[$i]);<br />
}</p>
<p>for($i=1;$i&lt;=$a[4];$i++)<br />
{<br />
    for($j=1;$j&lt;=$a[3];$j++)<br />
        for($k=1;$k&lt;=$a[2];$k++)<br />
            for($x=1;$x&lt;=$a[1];$x++)<br />
                for($y=1;$y</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
