실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:15:11: error: ‘class std::set<int>’ has no member named ‘push’ 15 | v.push(i); | ^~~~ Main.cpp:16:11: error: ‘class std::set<int>’ has no member named ‘push’ 16 | v.push(n/i); | ^~~~ Main.cpp:27:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::set<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 27 | for(int i = 0; i < v.size(); i++){ | ~~^~~~~~~~~~ Main.cpp:29:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::set<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 29 | if(i != v.size()-1){ | ~~^~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.