【POJ - 2417】Discrete Logging(BSGS)
Given a prime P, 2 <= P < 231, an integer B, 2 <= B < P, and an integer N, 1 <= N < P, compute the discrete logarithm of N, base B, modulo P. That is, find an integer L such that
...
原创
2019-04-05 15:43:07 ·
175 阅读 ·
0 评论