| 46 | return A; |
| 47 | } |
| 48 | static void exgcd(ll a, ll b, ll &g, ll &x, ll &y) { |
| 49 | if (!b) x = 1, y = 0, g = a; |
| 50 | else { |
| 51 | exgcd(b, a % b, g, y, x); |
| 52 | y -= x * (a / b); |
| 53 | } |
| 54 | } |
| 55 | static ll crt(const vec &c, const vec &m) { |
| 56 | int n = c.size(); |
| 57 | ll M = 1, ans = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected