摘要: /*LCA问题,离线tarjan算法*/// include file#include <cstdio>#include <cstdlib>#include <cstring>#include <cmath>#include <cctype>#include <ctime>#include <iostream>#include <sstream>#include <fstream>#include <iomanip>#include <bitset>#includ 阅读全文
posted @ 2011-03-28 15:58 AC2012 阅读(146) 评论(0) 推荐(0) 编辑
摘要: /*我实现的LCA tarjan算法(离线)*/// include file#include <cstdio>#include <cstdlib>#include <cstring>#include <cmath>#include <cctype>#include <ctime>#include <iostream>#include <sstream>#include <fstream>#include <iomanip>#include <bitset>#in 阅读全文
posted @ 2011-03-28 15:34 AC2012 阅读(148) 评论(0) 推荐(0) 编辑