while (n–->42) { std::cout << n; }

Maze generator – 13 bytes

Maze Generation In Thirteen Bytes