15 lines
308 B
C++
15 lines
308 B
C++
#include "Mask.h"
|
|
#include "Grid.h"
|
|
#include "algorithms/RecursiveBacktracker.h"
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
Mask mask(10, 10);
|
|
mask.disable(0, 0);
|
|
mask.disable(0, 1);
|
|
mask.disable(1, 0);
|
|
MaskedGrid grid(mask);
|
|
RecursiveBacktracker::on(grid);
|
|
std::cout << grid.toString() << std::endl;
|
|
|
|
} |