Guest
Login
Home Page
Problems
Status
Contests
Ranklist
F.A.Qs
整数次幂取模
Time Limit:1000MS Memory Limit:32768K
Description:
给定一个数,其值用A的B次方表示(B<100000),求该数除以一个整数C(C<100000)所得的余数。注意算法的合理性,其性能有一定的要求。 每行有三个数,依次表示A,B,C,每行对输出对应的余数。
Sample Input:
1 2 3 2 1 3 3 3 5
Sample Output:
1 2 2
Status
Submit
Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By
Jin Qiwei
.
Refactored By cb@zjut.edu.cn , QQ Group: 723311416 All Copyright Reserved 2006-
386