luogu#P10446. 64位整数乘法
64位整数乘法
Problem Description
Find the value of multiplied by modulo .
Input Format
The first line contains an integer , the second line contains an integer , and the third line contains an integer .
Output Format
Output one integer, representing the value of a*b mod p.
3
4
5
2
Hint
Translated by ChatGPT 5