실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:28:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 28 | for (int i = 0; i < key.size(); i++) | ~~^~~~~~~~~~~~ Main.cpp:46:83: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 46 | for (int j = 0; j < doors[va].size(); j++) | ~~^~~~~~~~~~~~~~~~~~ Main.cpp:78:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 78 | for (int j = 0; j < doors[va].size(); j++) | ~~^~~~~~~~~~~~~~~~~~ Main.cpp:111:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 111 | int main() { | ^~ Main.cpp:111:9: note: remove parentheses to default-initialize a variable 111 | int main() { | ^~ | -- Main.cpp:111:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:111:12: error: a function-definition is not allowed here before ‘{’ token 111 | int main() { | ^ Main.cpp:101:5: warning: unused variable ‘t’ [-Wunused-variable] 101 | int t, h, w, cnt; | ^ Main.cpp:101:8: warning: unused variable ‘h’ [-Wunused-variable] 101 | int t, h, w, cnt; | ^ Main.cpp:101:11: warning: unused variable ‘w’ [-Wunused-variable] 101 | int t, h, w, cnt; | ^ Main.cpp:101:14: warning: unused variable ‘cnt’ [-Wunused-variable] 101 | int t, h, w, cnt; | ^~~ Main.cpp:102:18: warning: unused variable ‘ans’ [-Wunused-variable] 102 | int check[N][N], ans[N]; | ^~~ Main.cpp:103:5: warning: unused variable ‘dx’ [-Wunused-variable] 103 | int dx[4] = { 0, 1, 0, -1 }, dy[4] = { 1, 0, -1, 0 }; | ^~ Main.cpp:103:30: warning: unused variable ‘dy’ [-Wunused-variable] 103 | int dx[4] = { 0, 1, 0, -1 }, dy[4] = { 1, 0, -1, 0 }; | ^~ Main.cpp:104:6: warning: unused variable ‘keycount’ [-Wunused-variable] 104 | bool keycount[26]; | ^~~~~~~~ Main.cpp:105:6: warning: unused variable ‘wall’ [-Wunused-variable] 105 | char wall, road, docu; | ^~~~ Main.cpp:105:12: warning: unused variable ‘road’ [-Wunused-variable] 105 | char wall, road, docu; | ^~~~ Main.cpp:105:18: warning: unused variable ‘docu’ [-Wunused-variable] 105 | char wall, road, docu; | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.