字符串算法
kmp算法,前缀后缀匹配的长度Manacher算法,回文字符串字典树算法(异或用到)字符串哈希
kmp算法,前缀后缀匹配的长度Manacher算法,回文字符串字典树算法(异或用到)字符串哈希
DFS/BFS并查集,最小生成树算法最短路,Dijkstra算法,safa算法,Floyd算法拓扑排序树论,LCA和ST倍增算法最大流算法最小费用最大流算法DSU 算法
问题 F: Homework提交题目描述There are n children (numbered from 1 to n) learning the arithmetic operations, which include addition “+”,...
参考链接乘法逆元扩展欧几里得定理欧拉函数推导欧拉函数代码欧拉函数详细推导中国剩余定理扩展欧几里得算法求逆元代码#include <bits/stdc++.h> using namespace std; typedef long long ll...
问题E Group Project题目描述The big day has finally arrived: today you are going to form groups of two in which you will do the end-of...