摘要: 题目链接:https://www.luogu.com.cn/problem/P3379 方法一:暴力求公共祖先 1.向上标记法(重点了解26-44行) 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n, m, s; 4 const in 阅读全文
posted @ 2022-04-19 15:57 TFLSNOI 阅读(72) 评论(0) 推荐(0) 编辑