1260번 - DFS와 BFS
제목 그대로입니다.
이유가 뭘까요
main.cpp:29:17: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
main.cpp:59:17: error: ‘empty’ was not declared in this scope
두 가지 에러가 발생하네요
algorithm헤더를 포함시키지 않고 sort함수를 사용했고, empty는 queue 객체의 멤버 함수이기 때문에 사용법이 틀린 것 같습니다.
댓글을 작성하려면 로그인해야 합니다.
lim010719 2년 전
제목 그대로입니다.
이유가 뭘까요