扩展欧几里得
文章平均质量分 75
Neiloz
...
展开
-
青蛙的约会(扩展欧几里得算法+不定方程求解)
1.折磨了我好久,不过大概是懂了。推荐博客:http://www.cnblogs.com/comeon4mydream/archive/2011/07/18/2109060.html#undefinedhttp://blog.csdn.net/LOI_DQS/article/details/49488851?locationNum=22.题目:两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见原创 2017-09-21 20:27:57 · 302 阅读 · 0 评论 -
The equation(exgcd+解不等式方程组)
The equation 推荐博客:http://www.cnblogs.com/Rinyo/archive/2012/11/25/2787419.html There is an equation ax + by + c = 0. Given a,b,c,x1,x2,y1,y2 you must determine, how many integer roots of this eq原创 2017-10-22 21:21:48 · 550 阅读 · 0 评论