美团4.23第二题 import java.util.LinkedList; import java.util.Scanner; import java.util.Stack; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); LinkedList<StringBuilder> list = new LinkedList<>(); while (in.hasNextLine()) { StringBuilder sb = ...