Calculate the formula by mitchs (phone)

import java.math.*;import java.util.*;enum test{test;System z;int i,j,k;{BigInteger[]a=new BigInteger[12];for(Scanner s=new Scanner(z.in);j<6;z.out.println(a[4]+" "+a[5]))for(i=0;i<k+6;k=i++==5?s.nextInt()*12:k)a[j=i%12]=i<6?s.nextBigInteger():j<6?a[j+6]:a[j%2*3].multiply(a[j-=6]).add(a[1-~j%5%2].multiply(a[j^1])).mod(new BigInteger("zg3d62r5p",36));}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page