snakecharm.java

2 0 0
                                        

import java.util.*;import java.lang.*;import java.security.SecureRandom;

public class print{

static final int output=64;static String a;

public static void main (String[]args){

  Scanner scan=new Scanner(System.in);

  String allowed ="1234";

char[]regenc=new char[allowed.length()];
for(int i=0;i<allowed.length();i++){regenc[i]=allowed.charAt(i);}

  SecureRandom random=new SecureRandom();

  for(int i=0;i<1;i++){

  for(int j=0;j<allowed.length();j++){for(int k=0;k<allowed.length();k++){
 
  System.out.print(nexrand(allowed,random));}System.out.print(nexrand(allowed,random))}

//System.out.print("\033[H\033[2J");
//restart(System);
 
  System.out.println("."+System.currentTimeMillis());
  //System.out.print("."+allowed);
  //System.out.print("."+System.currentTimeMillis());
}}
  private static String nexrand(String allowed,Random random){StringBuilder strand=new StringBuilder(allowed.length());
  
for(int i=0;i<1;i++){int rand=random.nextInt(allowed.length());

strand.append(allowed.charAt(rand));}return strand.toString();}

//char[]regdec=new char[nexrand.length()];
//for(int i=0;i<nexrand.length();i++){regdec[i]=nexrand.charAt(i);}
 
public static void restart(String[]strArr){main(strArr);}

}

My Prog AdventuresTahanan ng mga kuwento. Tumuklas ngayon