摘要: 数学算法 GCD int gcd(int x,int y) { return y?gcd(y,x%y):x; } 快速幂 int qpow(int a,int b,int mod) { int tmp=a,ans=1; while(b){ if(b&1){ ans=ans*tmp%mod; } b> 阅读全文
posted @ 2025-07-31 15:49 shicj0927 阅读(16) 评论(1) 推荐(0)