摘要: 二分 gcd int gcd(int a,int b) { int az=__builtin_ctz(a), bz=__builtin_ctz(b), z=min(az,bz), dif; b>>=bz; while(a) { a>>=az, dif=b-a; az=__builtin_ctz(di 阅读全文
posted @ 2024-05-13 16:12 Hypoxia571 阅读(30) 评论(0) 推荐(1) 编辑