2024 AFO之年
以下为陈年记录
考前补救
1.若 为质数
则 同余
2.逆元
inv[1] = 1;
for(int i = 2; i < p; ++ i)
inv[i] = (p - p / i) * inv[p % i] % p;3.exgcd
对于方程
特解
int exgcd(int a,int b,int &x,int &y)
{
if(b == 0)
{
x = 1,y = 0;
return a;
}
int d = exgcd(b,a % b,y,x);
y -= a / b * x;
return d;
}通解
备战中考勿扰
StatTrak™ 114514
博客全隐藏了,正在分批恢复
现在应该是AFO了
https://csacademy.com/app/graph_editor/
https://www.cnblogs.com/alex-wei/p/DFN_LCA.html
www.luogu.com.cn/discuss/428926
321
