<?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>《STL笔记一》的评论</title>
	<atom:link href="http://www.boluor.com/stl-notes.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.boluor.com/stl-notes.html</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 01:08:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>作者：boluor</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-456</link>
		<dc:creator>boluor</dc:creator>
		<pubDate>Thu, 27 Aug 2009 07:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-456</guid>
		<description>嗯，这个早下载看了。</description>
		<content:encoded><![CDATA[<p>嗯，这个早下载看了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：felix021</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-455</link>
		<dc:creator>felix021</dc:creator>
		<pubDate>Thu, 27 Aug 2009 07:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-455</guid>
		<description>re.</description>
		<content:encoded><![CDATA[<p>re.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：felix021</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-454</link>
		<dc:creator>felix021</dc:creator>
		<pubDate>Thu, 27 Aug 2009 07:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-454</guid>
		<description>http://acm.whu.edu.cn/blog/read.php?96</description>
		<content:encoded><![CDATA[<p><a href="http://acm.whu.edu.cn/blog/read.php?96" rel="nofollow">http://acm.whu.edu.cn/blog/read.php?96</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Sandy</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-453</link>
		<dc:creator>Sandy</dc:creator>
		<pubDate>Thu, 27 Aug 2009 07:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-453</guid>
		<description>有list::sort();</description>
		<content:encoded><![CDATA[<p>有list::sort();</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：ivan</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-452</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Thu, 27 Aug 2009 05:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-452</guid>
		<description>list不能用sort</description>
		<content:encoded><![CDATA[<p>list不能用sort</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：boluor</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-451</link>
		<dc:creator>boluor</dc:creator>
		<pubDate>Thu, 27 Aug 2009 02:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-451</guid>
		<description>嗯，现在明白了。对list理解有问题之前。</description>
		<content:encoded><![CDATA[<p>嗯，现在明白了。对list理解有问题之前。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Sandy</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-450</link>
		<dc:creator>Sandy</dc:creator>
		<pubDate>Thu, 27 Aug 2009 02:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-450</guid>
		<description>还有啊，你后面那个woj p1170的题，怎么可能用list更快？用脑子稍微想想就会明白list做这道题是效率极低的。你怎么会冒出那种想法？
vector显然是效率最高的。你的那个代码比别人慢是因为istream的速度比scanf慢，绝对不是vector的原因。
我在woj上跑的结果：
你原来的代码：   95121 test1_1 1170 Accepted  内存：9312 耗时：1640 G++  
改为list：      95122 test1_1 1170 Time Limit Exceed  内存：16880 耗时：2314 G++ 
改用scanf：     95123 test1_1 1170 Accepted  内存：9108 耗时：870 G++  
继续改用printf：95124 test1_1 1170 Accepted  内存：9120 耗时：830 G++  

看吧，你的list直接TLE了。</description>
		<content:encoded><![CDATA[<p>还有啊，你后面那个woj p1170的题，怎么可能用list更快？用脑子稍微想想就会明白list做这道题是效率极低的。你怎么会冒出那种想法？<br />
vector显然是效率最高的。你的那个代码比别人慢是因为istream的速度比scanf慢，绝对不是vector的原因。<br />
我在woj上跑的结果：<br />
你原来的代码：   95121 test1_1 1170 Accepted  内存：9312 耗时：1640 G++<br />
改为list：      95122 test1_1 1170 Time Limit Exceed  内存：16880 耗时：2314 G++<br />
改用scanf：     95123 test1_1 1170 Accepted  内存：9108 耗时：870 G++<br />
继续改用printf：95124 test1_1 1170 Accepted  内存：9120 耗时：830 G++  </p>
<p>看吧，你的list直接TLE了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：boluor</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-449</link>
		<dc:creator>boluor</dc:creator>
		<pubDate>Wed, 26 Aug 2009 16:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-449</guid>
		<description>我估计是more标签所致，回头研究下。</description>
		<content:encoded><![CDATA[<p>我估计是more标签所致，回头研究下。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：sandy</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-448</link>
		<dc:creator>sandy</dc:creator>
		<pubDate>Wed, 26 Aug 2009 15:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-448</guid>
		<description>果然，wp的首页实在是太xxx了……也用不着这么补全标签吧。。
ubb王道，ubb王道。</description>
		<content:encoded><![CDATA[<p>果然，wp的首页实在是太xxx了……也用不着这么补全标签吧。。<br />
ubb王道，ubb王道。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：sandy</title>
		<link>http://www.boluor.com/stl-notes.html/comment-page-1#comment-447</link>
		<dc:creator>sandy</dc:creator>
		<pubDate>Wed, 26 Aug 2009 15:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.boluor.com/?p=317#comment-447</guid>
		<description>别别别，我不敢当。这个例子是很多地方可以见到的。那个单词的例子，你去翻翻之前我给你的STL的书，上面有，只不过我稍微简化了下。
不过是希望你能了解STL的威力罢了，它不是什么空架子，它是工业标准，用好了的话将是你履历表上非常浓重的一笔。
还有，别再写：
for(int i=1;i&lt;(int)vector1.size();i++)
{
  vector1[i]=xxx....
}
这种循环了……超别扭 :neutral: 。除非实在必要。</description>
		<content:encoded><![CDATA[<p>别别别，我不敢当。这个例子是很多地方可以见到的。那个单词的例子，你去翻翻之前我给你的STL的书，上面有，只不过我稍微简化了下。<br />
不过是希望你能了解STL的威力罢了，它不是什么空架子，它是工业标准，用好了的话将是你履历表上非常浓重的一笔。<br />
还有，别再写：<br />
for(int i=1;i&lt;(int)vector1.size();i++)<br />
{<br />
  vector1[i]=xxx&#8230;.<br />
}<br />
这种循环了……超别扭 <img src='http://www.boluor.com/wp-includes/images/smilies/icon_neutral.gif' alt=':neutral:' class='wp-smiley' />  。除非实在必要。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

