阅读背景:

Law of Commutation HDU - 6189(推导)

来源:互联网 

As we all know, operation ”+” complies with the commutative law. That is, if we arbitrarily select two integers a and b, a+b always equals to b+a. However, as for exponentiation, such law may be wrong. In this problem, let us consider a modular exponentiation. Give an integer m=2n and an integer a, count the number of integers b in the range of [1,m] which satisfy the equation As we all know, operation ”+” complies with




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: