树
搓衣板的正义
越努力,约幸运!
展开
-
数据结构小作业---家族族谱
家族族谱树 #include <iostream> #include<string> #include<iomanip> #include<cstring> using namespace std; bool found=false; typedef long long int ll; int next1[1000]; int number=0...原创 2018-11-20 15:21:32 · 1605 阅读 · 7 评论 -
线段树-----模版
#include<stdio.h> #define ll long long #define lson rt<<1,l,m #define rson rt<<1|1,m+1,r const int maxn=1<<20; int n,m; ll lz[maxn]; inline void push_down(int rt) {...原创 2018-11-20 22:11:07 · 72 阅读 · 0 评论