실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:13:22: error: conflicting declaration ‘std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > m’ 13 | map<string,string> m; | ^ Main.cpp:10:15: note: previous declaration as ‘int m’ 10 | int n ; int m; | ^ Main.cpp:18:6: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}) 18 | m[domain] = pw; | ^ Main.cpp:24:14: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}) 24 | cout << m[want] <<'\n'; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.