一些曾经的代码

高精度

https://paste.ubuntu.com/p/PT8rmVn9xC/万进制乘法
https://paste.ubuntu.com/p/CRxYtvSQwH/阶乘和

数据结构-线段树
https://paste.ubuntu.com/p/twPRc6HNW7/线段树lazy

搜索
https://paste.ubuntu.com/p/Gg2Y6358Gn/广搜迷宫
https://paste.ubuntu.com/p/xj5ZY7HQDw/黑白棋(状压)
https://paste.ubuntu.com/p/HzTh2H2M7N/深搜迷宫

二分

https://paste.ubuntu.com/p/ZHfpNm6bdn/隐形的翅膀

并查集
https://paste.ubuntu.com/p/RxvWctsMww/奶酪

倍增
https://paste.ubuntu.com/p/FnWGM3bsgn/lca倍增

树形dp
https://paste.ubuntu.com/p/zFV2NJ7bB4/偷天换日

数论
https://paste.ubuntu.com/p/DKsGY6msRv/快速幂
https://paste.ubuntu.com/p/5y3FDWHMNn/逆元

猜你喜欢

转载自www.cnblogs.com/z12315/p/9971471.html