실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void dfs(int, int, int)’: Main.cpp:30:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 30 | for(int dir2 = 0; dir2 < closee[cur2].size(); ++dir2){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~ Main.cpp:49:37: warning: pointer to a function used in arithmetic [-Wpointer-arith] 49 | for(int i = 0; i < close[idx].size(); ++i){ | ^ Main.cpp:49:39: error: request for member ‘size’ in ‘*(close + ((sizetype)idx))’, which is of non-class type ‘int(int)’ 49 | for(int i = 0; i < close[idx].size(); ++i){ | ^~~~ Main.cpp:50:37: warning: pointer to a function used in arithmetic [-Wpointer-arith] 50 | int idxn = close[idx][i]; | ^ Main.cpp:50:40: warning: pointer to a function used in arithmetic [-Wpointer-arith] 50 | int idxn = close[idx][i]; | ^ Main.cpp:50:40: error: invalid conversion from ‘int (*)(int)’ to ‘int’ [-fpermissive] 50 | int idxn = close[idx][i]; | ^ | | | int (*)(int)
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.