首页 > TAG信息列表 > 树题

一道Postgresql递归树题

转载请注明出处: https://www.cnblogs.com/funnyzpc/p/13698249.html 也是偶然的一次,群友出了一道题考考大家,当时正值疫情最最严重的三月(借口...),披着外套,天气也不是很好(借口...),耐着性子花了5分钟理解了下题, 第一个5分钟...无解,再第二个5分钟。。。无解,还第三个5分钟。。。终

抱大腿

这是三哥教给我的,在此谢三哥了! 线段树题集 主席树前驱后继复杂度证明 小东西

Comet OJ - Contest #6 D. 另一道树题 并查集 + 思维 + 计数

Code:  #include <cstdio>#include <algorithm>#include <cstring>#include <vector>#define setIO(s) freopen(s".in","r",stdin) #define maxn 200004 #define mod 998244353 #define ll long long using namespace std; inli

次小生成树题(k) poj1679The Unique MST

http://poj.org/problem?id=1679   #include<iostream>#include<vector>#include<cstdio>#include<cstring>#include<algorithm>using namespace std;struct node{ int u,v,w; }e[10004];int f[110];vector<int>vis;bool cmp(nod