摘要:
UsoperantoTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://www.bnuoj.com/v3/contest_show.php?cid=6866#problem/JDescriptionUsoperanto is an artificial ... 阅读全文
摘要:
Do use segment treeTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://www.bnuoj.com/v3/problem_show.php?pid=39566DescriptionGiven a tree withn(1 ≤ n ≤ 2... 阅读全文
摘要:
//点和线段树都从1开始//边使用vectorvector G[maxn];int dfs_clock,que[maxn*2],num[maxn],iii[maxn],b[maxn],a[maxn],top[maxn],deep[maxn],fa[maxn],idx[maxn];//采用静态链表//... 阅读全文