import java.util.Scanner; public class Chkis { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); //输入树的大小 Three.function(n); } } class Three{ public static void f(int m) {//封装输出空格的方法 for(int j=0;j<=m;j++) System.out.printf(" "); ...