文章列表
public class Josephus {
private int total;
private int num;
private int[] array;
public Josephus(int total, int num) {
this.total = total;
this.num = num;
array = new int[total];
for (int i = 0; i < total; i++) {
array[i] = i + 1;
}
}
public static void main(Stri ...