Random random = new Random();
for (int j = 1; j <= 60; j++) {
System.out.println("/n#TestCase"+j);
System.out.print("input: [");
for (int i = 1; i < 16; i++) {
if (i % 4 == 0) {
System.out.print(" ");
} else {
int choice = random.nextInt(2) % 2 == 0 ? 65 : 97; // 取得大写还是小写
System.out.print((char) (choice + random.nextInt(26)));
}
}
System.out.println("]"+"/noutput:4");
for(int i=1; i <= 4;i++){
System.out.println("[]");
}
}