如题,我感觉自己思路是对的,给出的测试用例也过了,但是提交就是0case,请大佬帮忙看看指点一下,感激不尽!!! import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Scanner; public class Test1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextIn...