摘要:
## 字典树 其实是将字母放在树边上,利用空间换时间,解决前缀等问题。 点击查看代码 ``` #include using namespace std; const int N=3e6+110; int read(){ int x=0,f=1;char c=getchar(); while(c>'9 阅读全文
摘要:
# [$\color{purple}\text{The Fox and the Complete Tree Traversal}$](https://www.luogu.com.cn/problem/CF1819C) 比较有意思的一题。先考虑一个序列的权值。对长度为 $len$ 的序列排序,价值为 阅读全文