© 2023 Ddmiurge. | Powered by Hexo | Theme Diaspora by Fechin
九月 05, 2021
洛谷P2421这一道题目是一道同余的题目,进行推理后用扩展欧几里得就可以了,解析我写在了代码里面 12345678...
辗转相除法原始版本123inline int gcd(x,y){ return (y==0)?x:gcd(y,x%y); } ...