실행 실패 (제출 코드 컴파일 에러)
Main.java:7: error: incompatible types: int[] cannot be converted to int static int seq, math = new int[4]; ^ Main.java:13: error: incompatible types: int[] cannot be converted to int seq = new int[N]; ^ Main.java:15: error: array required, but int found seq[i] = Integer.parseInt(st.nextToken()); ^ Main.java:20: error: array required, but int found math[i] = Integer.parseInt(st.nextToken()); ^ Main.java:36: error: array required, but int found if (math[i] == 0) continue; ^ Main.java:37: error: array required, but int found math[i]--; ^ Main.java:38: error: array required, but int found if (i == 0) dfs(depth + 1, res + seq[depth]); ^ Main.java:39: error: array required, but int found else if (i == 1) dfs(depth + 1, res - seq[depth]); ^ Main.java:40: error: array required, but int found else if (i == 2) dfs(depth + 1, res * seq[depth]); ^ Main.java:41: error: array required, but int found else if (i == 3) dfs(depth + 1, res / seq[depth]); ^ 10 errors
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.