【GoogleCodeJam2016C】【java 二进制枚举爆搜】Coin Jam n位01数转变为n进制
importjava.util.*;
importjava.math.*;
publicclassMain
{
staticScannercin=newScanner(System.in);
publicstaticvoidmain(String[]args)
{
//预处理素数
intprime[]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,