﻿<?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++博客-CodeStream-随笔分类-acm_LCA</title><link>http://www.cppblog.com/CodeStream/category/16357.html</link><description /><language>zh-cn</language><lastBuildDate>Sat, 14 May 2011 04:50:25 GMT</lastBuildDate><pubDate>Sat, 14 May 2011 04:50:25 GMT</pubDate><ttl>60</ttl><item><title>LCA （离线Tarjan &amp;&amp; 在线倍增发）</title><link>http://www.cppblog.com/CodeStream/archive/2011/03/25/142732.html</link><dc:creator>CodeStream</dc:creator><author>CodeStream</author><pubDate>Fri, 25 Mar 2011 10:34:00 GMT</pubDate><guid>http://www.cppblog.com/CodeStream/archive/2011/03/25/142732.html</guid><wfw:comment>http://www.cppblog.com/CodeStream/comments/142732.html</wfw:comment><comments>http://www.cppblog.com/CodeStream/archive/2011/03/25/142732.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/CodeStream/comments/commentRss/142732.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/CodeStream/services/trackbacks/142732.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: LCA&nbsp;&nbsp;<a href='http://www.cppblog.com/CodeStream/archive/2011/03/25/142732.html'>阅读全文</a><img src ="http://www.cppblog.com/CodeStream/aggbug/142732.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/CodeStream/" target="_blank">CodeStream</a> 2011-03-25 18:34 <a href="http://www.cppblog.com/CodeStream/archive/2011/03/25/142732.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>hdu 2586 How far away ？(LCA)</title><link>http://www.cppblog.com/CodeStream/archive/2011/03/24/142651.html</link><dc:creator>CodeStream</dc:creator><author>CodeStream</author><pubDate>Thu, 24 Mar 2011 07:44:00 GMT</pubDate><guid>http://www.cppblog.com/CodeStream/archive/2011/03/24/142651.html</guid><wfw:comment>http://www.cppblog.com/CodeStream/comments/142651.html</wfw:comment><comments>http://www.cppblog.com/CodeStream/archive/2011/03/24/142651.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/CodeStream/comments/commentRss/142651.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/CodeStream/services/trackbacks/142651.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: n个点，n-1条路形成了一棵树，然后又m个询问：(x,y)输出x到y的最短距离<br>典型的LCA问题，用Tarjan解决，时间复杂度为O(n+m)<br>&nbsp;&nbsp;<a href='http://www.cppblog.com/CodeStream/archive/2011/03/24/142651.html'>阅读全文</a><img src ="http://www.cppblog.com/CodeStream/aggbug/142651.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/CodeStream/" target="_blank">CodeStream</a> 2011-03-24 15:44 <a href="http://www.cppblog.com/CodeStream/archive/2011/03/24/142651.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>scu</title><link>http://www.cppblog.com/CodeStream/archive/2011/03/24/142648.html</link><dc:creator>CodeStream</dc:creator><author>CodeStream</author><pubDate>Thu, 24 Mar 2011 07:05:00 GMT</pubDate><guid>http://www.cppblog.com/CodeStream/archive/2011/03/24/142648.html</guid><wfw:comment>http://www.cppblog.com/CodeStream/comments/142648.html</wfw:comment><comments>http://www.cppblog.com/CodeStream/archive/2011/03/24/142648.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/CodeStream/comments/commentRss/142648.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/CodeStream/services/trackbacks/142648.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: dh&nbsp;&nbsp;<a href='http://www.cppblog.com/CodeStream/archive/2011/03/24/142648.html'>阅读全文</a><img src ="http://www.cppblog.com/CodeStream/aggbug/142648.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/CodeStream/" target="_blank">CodeStream</a> 2011-03-24 15:05 <a href="http://www.cppblog.com/CodeStream/archive/2011/03/24/142648.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>