Snippets

Ettar Java BigInteger PowMod

Created by Ettar
import java.math.BigInteger;

public class mainClass {
    public static void main(String[] ARGS){
        BigInteger bi = BigInteger.valueOf(75);
        bi=bi.pow(23);
        bi = bi.mod(BigInteger.valueOf(187));
        System.out.println(bi);
    }
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.