#C. 乘法运算

    Type: Default 1000ms 256MiB

乘法运算

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

aabbpp 取模的值。

输入格式

第一行输入整数aa,第二行输入整数bb,第三行输入整数pp

输出格式

输出一个整数,表示a*b mod p的值。

数据范围

1a,b,p1091≤a,b,p≤10^9

输入样例:

3
4
5

输出样例:

2

nb2.土拨鼠考试

Not Attended
Status
Done
Rule
Ledo
Problem
3
Start at
2024-1-5 1:30
End at
1970-1-1 8:00
Duration
-473441.5 hour(s)
Host
Partic.
0