| 9 | bool **arr; |
| 10 | node *head; |
| 11 | exact_cover(int _rows, int _cols) |
| 12 | : rows(_rows), cols(_cols), head(NULL) { |
| 13 | arr = new bool*[rows]; |
| 14 | sol = new int[rows]; |
| 15 | rep(i,0,rows) |
| 16 | arr[i] = new bool[cols], memset(arr[i], 0, cols); } |
| 17 | void set_value(int row, int col, bool val = true) { |
| 18 | arr[row][col] = val; } |
| 19 | void setup() { |
nothing calls this directly
no outgoing calls
no test coverage detected