xxxxxxxxxx
import std.container.array : Array;
import std.range : chunks;
import std.stdio : stdout;
void main()
{
size_t width = 135;
size_t height = 36;
size_t n = (width * height);
Array!bool ar;
ar.reserve(n);
for (; n > 0; --n)
{
ar ~= false;
}
auto c = chunks(ar[], width);
stdout.writeln(c.length);
size_t x, y;
foreach (j; c)
{
stdout.writeln("x", j.length);
foreach (i; j)
{
stdout.writeln(y, "|", x, "\t", i);
++x;
}
++y;
x = 0;
}
}