실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:1: error: ‘string’ does not name a type 1 | string input = Console.ReadLine(); | ^~~~~~ Main.cpp:2:11: error: ‘input’ was not declared in this scope; did you mean ‘int’? 2 | int len = input.Length; | ^~~~~ | int Main.cpp:4:1: error: ‘Stack’ does not name a type 4 | Stack<char> stack = new(); | ^~~~~ Main.cpp:5:1: error: ‘System’ does not name a type 5 | System.Text.StringBuilder sb = new(); | ^~~~~~ Main.cpp:7:1: error: expected unqualified-id before ‘for’ 7 | for (int i = 0; i < len; i++) | ^~~ Main.cpp:7:17: error: ‘i’ does not name a type 7 | for (int i = 0; i < len; i++) | ^ Main.cpp:7:26: error: ‘i’ does not name a type 7 | for (int i = 0; i < len; i++) | ^ Main.cpp:51:1: error: expected unqualified-id before ‘while’ 51 | while (stack.Count > 0) | ^~~~~ Main.cpp:53:1: error: ‘Console’ does not name a type 53 | Console.WriteLine(sb.ToString()); | ^~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.