실행 실패 (제출 코드 컴파일 에러)
Main.cpp:12:1: error: ‘unordered_set’ does not name a type 12 | unordered_set<int> visited; | ^~~~~~~~~~~~~ Main.cpp: In function ‘int find(int, int)’: Main.cpp:16:9: error: ‘visited’ was not declared in this scope 16 | if (visited.count(s)) return 1e9; | ^~~~~~~ Main.cpp:18:5: error: ‘visited’ was not declared in this scope 18 | visited.insert(s); | ^~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.