F - A^B mod C (快速幂+优化)
F - A^B mod C
Given A,B,C, You should quickly calculate the result of A^B mod C. (1<=A,B,C<2^63).
Input
There are multiply testcases. Each testcase, there is one line contains three integers...
原创
2018-07-23 15:01:22 ·
221 阅读 ·
0 评论