摘要:
A. Got Any Grapes? 签. 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int x, y, z, a, b, c; 5 bool solve() 6 { 7 if (a < x) return false; 8 a -= 阅读全文
posted @ 2019-02-11 16:32
Dup4
阅读(278)
评论(0)
推荐(1)
摘要:
2.15 LCA Nearest Common Ancestors POJ 1330 题意:给出一棵树, 询问两个点的最近公共祖先。 思路: $LCA$模板题,请各位掏出各式各样的模板A穿它。 1 #include<cstdio> 2 #include<cstring> 3 #include<alg 阅读全文
posted @ 2019-02-11 11:22
Dup4
阅读(269)
评论(0)
推荐(1)

浙公网安备 33010602011771号