실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:1: error: ‘StringBuilder’ does not name a type 1 | StringBuilder sb = new StringBuilder(); | ^~~~~~~~~~~~~ Main.cpp:3:1: error: ‘Dictionary’ does not name a type 3 | Dictionary<char, int> dic = new Dictionary<char, int>(); | ^~~~~~~~~~ Main.cpp:5:1: error: expected unqualified-id before ‘for’ 5 | for (char i = 'a'; i <= 'z'; i++) | ^~~ Main.cpp:5:20: error: ‘i’ does not name a type 5 | for (char i = 'a'; i <= 'z'; i++) | ^ Main.cpp:5:30: error: ‘i’ does not name a type 5 | for (char i = 'a'; i <= 'z'; i++) | ^ Main.cpp:10:1: error: expected unqualified-id before ‘while’ 10 | while (true) | ^~~~~ Main.cpp:28:16: error: ‘dic’ was not declared in this scope 28 | int maxValue = dic.Values.Max(); | ^~~ Main.cpp:30:9: error: expected constructor, destructor, or type conversion before ‘(’ token 30 | foreach (var i in dic) | ^ Main.cpp:38:1: error: ‘Console’ does not name a type 38 | Console.WriteLine(sb.ToString()); | ^~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.