//调了半个小时只有55% 没记错的话是当时字节笔试的第一题。当时直接AC,搞不懂哪个用例不符合 public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.nextLine()); int[][] arr = new int[N][N]; for (int i = 0; i < N; i++...