会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
superPG
博客园
首页
新随笔
联系
订阅
管理
2022年7月22日
2022.7.22 AcWing LeetCode
摘要: LCA 倍增 #include <bits/stdc++.h> using namespace std; const int N = 1e3 + 10; int T; int n, m; int h[N], e[N * 2], ne[N * 2]; // f 为倍增函数,存储每个节点i,取j次父节点
阅读全文
posted @ 2022-07-22 14:52 superPG
阅读(20)
评论(0)
推荐(0)
编辑
公告