import java.util.*;
//假如只剩一个学校的学员没有排(假设已经排到了第80个),
// 下一个要排这个学校了,假如说上一个排的学校还是它,那就要从82开始排,
// 但是如果上一个不是这个学校,就要从81开始排,往后排间距都是2;
public class ArrangeSeat {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int group_num = scanner.nextInt();
scanner.nextLine();
String info = scanner.nextLine();
String[] arr = info.split(" ");
List<int[]> lst = new ArrayList<>();
int[] arr_idx = new int
L1-049 天梯赛座位分配java题解
最新推荐文章于 2024-04-18 19:26:25 发布

最低0.47元/天 解锁文章
370

被折叠的 条评论
为什么被折叠?



