摘要:
import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class Main { List blocks = null; public void inital(){ Scanner cin = new Scanner(System.in); int n; int m = 1; while((n = cin.nextInt()) != 0){ blocks = new ArrayList(); ... 阅读全文