摘要:
洛谷 SP14932 LCA Lowest Common Ancestor "洛谷评测传送门" 题目描述 A tree is an undirected graph in which any two vertices are connected by exactly one simple path. 阅读全文
摘要:
CSP S需备模板大全 谨以此文祝愿自己$CSP S\,\,2019\,\,\color{red}{RP++!!}$ 算法 二分 详见—— "二分写法详解" 数学 快速幂 详见—— "浅谈快速幂/快速乘" GCD 详见—— "求GCD的两种方式" LCM 详见—— "浅谈最大公约数、最小公倍数" 扩 阅读全文