摘要:
#include #include #include #include #include #include #include #include #include #include #include using namespace std; int exGcd(int a,int b,int *x,int *y) { if(b==0) { *... 阅读全文
posted @ 2018-01-14 06:13
痞子熊
阅读(132)
评论(0)
推荐(0)
摘要:
#include int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); // IO } 阅读全文
posted @ 2018-01-14 02:26
痞子熊
阅读(378)
评论(0)
推荐(0)
摘要:
转自:http://blog.csdn.net/ash_zheng/article/details/38541777 模运算与基本四则运算有些相似,但是除法例外。其规则如下: (a + b) % p = (a % p + b % p) % p (1) (a - b) % p = (a % p - b 阅读全文
posted @ 2018-01-14 02:13
痞子熊
阅读(4233)
评论(0)
推荐(1)

浙公网安备 33010602011771号