실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:43:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 43 | for(int i=0; i<chicken.size(); i++) | ~^~~~~~~~~~~~~~~ Main.cpp: In function ‘void DFS(int)’: Main.cpp:57:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 57 | for (int i = 0; i < house.size(); i++) | ~~^~~~~~~~~~~~~~ Main.cpp:60:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | for (int j = 0; j < chicken.size(); j++) | ~~^~~~~~~~~~~~~~~~ Main.cpp:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 0; i < chicken.size(); i++) | ~~^~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccMnx2AW.o: in function `main': Main.cpp:(.text.startup+0x190): undefined reference to `DFS(int, int)' /usr/bin/ld: Main.cpp:(.text.startup+0x1dc): undefined reference to `DFS(int, int)' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.