public class test {
static int sign = 0;//标记
static int sign2 = 0;//索引标记
static student[] arrays = new student[10];//存放数组
static int[] suoyin = new int[arrays.length];//存放找到的索引
static Scanner s = new Scanner(System.in);//获取键盘输入
public static void main(String[] args) {
for(int i = 0; i <= arrays.length/2; i++){
arrays[i] = new student(i+1,"路人甲"+i,18+new Random().nextInt(2));
}
while(true){
play();
}
}