Exemple #1
0
 public static ModInt Pow(ModInt value, long k)
 {
     return(Pow(value.value_, k));
 }
Exemple #2
0
 public static ModInt Inverse(ModInt value)
 {
     return(Pow(value, P - 2));
 }