실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void dfs(int, std::vector<int>&)’: Main.cpp:15:21: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 15 | if (temp.size() == N/2) { //exit condition | ~~~~~~~~~~~~^~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:58:15: error: ‘INT_MAX’ was not declared in this scope 58 | int ans = INT_MAX; | ^~~~~~~ Main.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 3 | #include <limits> +++ |+#include <climits> 4 | using namespace std;
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.