-
乘法逆元 乘法逆元求余数
乘法逆元的代码实现 C++:inline long long extend_gcd(long long a,long long b,long long&x,long long&y){if(a=0&b=0)return-1ll;if(b=0)...
乘法逆元的代码实现 C++:inline long long extend_gcd(long long a,long long b,long long&x,long long&y){if(a=0&b=0)return-1ll;if(b=0)...