실행 실패 (제출 코드 컴파일 에러)
Main.java:36: error: incompatible types: Coord cannot be converted to int if (union(n.from, n.to)) result += n.cost; ^ Main.java:72: error: no suitable method found for abs(int,int) Math.abs(c1.x, c2.x), ^ method Math.abs(int) is not applicable (actual and formal argument lists differ in length) method Math.abs(long) is not applicable (actual and formal argument lists differ in length) method Math.abs(float) is not applicable (actual and formal argument lists differ in length) method Math.abs(double) is not applicable (actual and formal argument lists differ in length) Main.java:74: error: no suitable method found for abs(int,int) Math.abs(c1.y, c2.y), ^ method Math.abs(int) is not applicable (actual and formal argument lists differ in length) method Math.abs(long) is not applicable (actual and formal argument lists differ in length) method Math.abs(float) is not applicable (actual and formal argument lists differ in length) method Math.abs(double) is not applicable (actual and formal argument lists differ in length) Main.java:75: error: no suitable method found for abs(int,int) Math.abs(c1.z, c2.z) ^ method Math.abs(int) is not applicable (actual and formal argument lists differ in length) method Math.abs(long) is not applicable (actual and formal argument lists differ in length) method Math.abs(float) is not applicable (actual and formal argument lists differ in length) method Math.abs(double) is not applicable (actual and formal argument lists differ in length) Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 4 errors
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.