第一题:拓扑排序路径 (邻接表判定)判断了是否有环还是只能过85,大佬指点 第二题:经典接水 public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String ch[] = s.substring(1,s.length() - 1).split(","); int res[] = new i...