摘要: 构造 + 费马小定理 2022ICPC网络赛(II)A [题目详情 - A Yet Another Remainder (pintia.cn)](https://codeforces.com/contest/1734/problem/E) 题意 有一个大整数 $x(1<=x<=10^{10^6})$ 阅读全文
posted @ 2022-09-26 23:15 hzy0227 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 同余 Problem - E - Codeforces 题意 给一个长度为 $n(2<=n<350)$ 的数组 $b_i$, $0<=b_0,b_1...b_n<n$ 要构造一个大小为 $n*n$ 的矩阵 A,$a_{i,i}=b_i$, 并且满足对于任意的 $0<=r_1<r_2<n,0<=c_1 阅读全文
posted @ 2022-09-26 22:27 hzy0227 阅读(27) 评论(0) 推荐(0) 编辑