#include <cstddef>
#include <iostream>
int main(void)
{
size_t N = 10;
std::cout << "maximal independent set (marked with Xs)\n";
for (size_t i = 0; i < N; i++)
{
std::cout << " ";
for (size_t j = 0; j < N; j++)
{
std::cout << ((stencil[N * i + j]) ? "X" : "0");
}
std::cout << "\n";
}
return 0;
}