|
|
back to boardJava the best public class T_1219_Symbolic_Sequence { public static void main(String[] args) { PrintWriter pw= new PrintWriter(new OutputStreamWriter(System.out)); Random r= new Random(); char a[]=new char[30]; int k = 0 ; for (char j ='a'; j <='z'; j++) a[++k]=j; for (int i = 1; i <=1000000; i++) pw.print(a[r.nextInt(26)+1]); pw.close(); } } |
|
|