Problem 1033 --数论编程-二分快速幂

1033: 数论编程-二分快速幂

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 27  Solved: 17
[Submit][Status][Web Board][Creator:]

Description

Input

a,b和m

Output

a的b次方模m的值

Sample Input

100 100 999

Sample Output

100

Source

[Submit][Status]