실행 실패 (제출 코드 컴파일 에러)
Main.cpp:1:1: error: ‘var’ does not name a type 1 | var reader = new System.IO.StreamReader(Console.OpenStandardInput()); | ^~~ Main.cpp:2:9: error: expected primary-expression before ‘int’ 2 | int N = int.Parse(reader.ReadLine()); | ^~~ Main.cpp:3:24: error: ‘string’ was not declared in this scope 3 | Dictionary<string[], int> dic = new Dictionary<string[], int>(); | ^~~~~~ Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:24: error: ‘string’ was not declared in this scope Main.cpp:3:13: error: ‘Dictionary’ does not name a type 3 | Dictionary<string[], int> dic = new Dictionary<string[], int>(); | ^~~~~~~~~~ Main.cpp:5:13: error: expected unqualified-id before ‘for’ 5 | for (int i = 0; i < N; i++) | ^~~ Main.cpp:5:29: error: ‘i’ does not name a type 5 | for (int i = 0; i < N; i++) | ^ Main.cpp:5:36: error: ‘i’ does not name a type 5 | for (int i = 0; i < N; i++) | ^ Main.cpp:12:13: error: ‘dic’ does not name a type 12 | dic = dic.OrderBy(x => x.Value) | ^~~ Main.cpp:17:19: error: expected nested-name-specifier before ‘(’ token 17 | using (var print = new System.IO.StreamWriter(Console.OpenStandardOutput())) | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.