0_0_39069255_30192.cpp: In member function 'int32_t ExactCover<MAX_ROWS, MAX_COLS>::Dfs(int32_t)':
0_0_39069255_30192.cpp:72:54: error: incomplete type 'std::numeric_limits<int>' used in nested name specifier
72 | auto min_sum = std::numeric_limits<int32_t>::max();
| ^~~
0_0_39069255_30192.cpp: In function 'void InitEdge()':
0_0_39069255_30192.cpp:171:5: error: 'memset' was not declared in this scope
171 | memset(g_prev, -1, sizeof(g_prev));
| ^~~~~~
0_0_39069255_30192.cpp:9:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
8 | #include <cstdint>
+++ |+#include <cstring>
9 |
0_0_39069255_30192.cpp: In instantiation of 'void ExactCover<MAX_ROWS, MAX_COLS>::Init(int32_t, int32_t, int32_t) [with int MAX_ROWS = 1001; int MAX_COLS = 1001; int32_t = int]':
0_0_39069255_30192.cpp:188:27: required from here
0_0_39069255_30192.cpp:32:15: error: 'memset' was not declared in this scope
32 | memset(head_, -1, sizeof(head_[0]) * (rows + 1));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0_0_39069255_30192.cpp:32:15: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39069255_30192.cpp:33:15: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation
33 | memset(valid_, true, sizeof(valid_[0]) * (rows + 1));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0_0_39069255_30192.cpp:32:15: note: 'memset' declared here, later in the translation unit
32 | memset(head_, -1, sizeof(head_[0]) * (rows + 1));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|