摘要: https://vjudge.net/contest/353158#problem/A 解线性同余方程 : ax + by = c 的一般步骤: 1. 求出 m = gcd(a,b) 2. 若 c % m != 0 -> 方程组无解 3. 若 c % m == 0 -> 将方程 ax + by = 阅读全文
posted @ 2020-01-29 11:11 popozyl 阅读(153) 评论(0) 推荐(0) 编辑