mcfx's blog - 扩展gcd /category/exgcd/ BZOJ 1407: [Noi2002]Savage /archives/27/ 2016-09-14T19:14:00+08:00 ###Description ![1407.jpg][1] ###Input 第1行为一个整数N(1