실행 실패 (제출 코드 컴파일 에러)
Main.java:22: error: cannot find symbol for (int i = 1; i < str.length(); i++) { ^ symbol: method length() location: variable str of type String[] Main.java:24: error: cannot find symbol diff = parse(Math.abs(str[i] - sum)); ^ symbol: variable sum location: class Main Main.java:27: error: incompatible types: String cannot be converted to int prev = str[i]; ^ Main.java:33: error: bad operand types for binary operator '-' if (Math.abs(str[i] - prev) != diff) { ^ first type: String second type: int 4 errors
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.