실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:55:9: error: ‘memset’ was not declared in this scope 55 | memset(visited, false, sizeof(visited)); | ^~~~~~ Main.cpp:5:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 4 | #include <climits> +++ |+#include <cstring> 5 | #define MAX 51 Main.cpp:70:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::pair<int, int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for(int i = 0; i < group.size(); i++) { | ~~^~~~~~~~~~~~~~ Main.cpp:77:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 77 | for(int j = 0; j < group[i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.