ABC E 求调

学术版

@[lilong](/user/180406) a-1对m的逆元有可能不存在
by Deuteron @ 2023-03-11 21:49:20


@[小可爱萌萌哒](/user/397982) 那不存在时如何取模?
by lilong @ 2023-03-11 21:50:13


@[lilong](/user/180406) 用分治做
by 落花月朦胧 @ 2023-03-11 21:50:34


@[lilong](/user/180406) 分治
by Deuteron @ 2023-03-11 21:50:40


@[lilong](/user/180406) 通项公式是错的
by 落花月朦胧 @ 2023-03-11 21:50:46


@[ZhengXiangYu](/user/492627) 满 k 叉树的计算公式?
by lilong @ 2023-03-11 21:53:58


P1593 参考一下?
by Hell0_W0rld @ 2023-03-11 21:54:19


@[lilong](/user/180406) 我说的是等比数列的公式,里面有除法,但是这里不一定有逆元,所以是错的
by 落花月朦胧 @ 2023-03-11 22:05:09


@[lilong](/user/180406) 有一种更简单也更好写的做法是 矩阵快速幂。想用分治做基本上已经是想太多了。
by donghanwen1225 @ 2023-03-11 22:10:11


~~有人py过了~~
by why123 @ 2023-03-11 22:10:19


|