如果你使用的是递归dfs,而且RE调不出来。 将你的代码包裹进lambda中
public static void main(String[] args) throws IOException { new Thread(null, () -> { // 你滴代码 },"114514",1 << 24).start(); }