#include <iostream>
#include <vector>
using namespace std;
int main() {
int w = 10, h = 10;
vector<vector<char>> vvc(w);
for(auto& a : vvc)
a.resize(h, 'x');
char** ppc = new char*[h];
for(int i = 0; i < h; ++i)
{
ppc[i] = new char[w];
for(int j = 0; j < w; ++j)
{
ppc[i][j] = vvc[i][j];
}
}
for(int i = 0; i < h; ++i)
{
for(int j = 0; j < w; ++j)
{
cout << ppc[i][j];
}
cout << endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJaW50IHcgPSAxMCwgaCA9IDEwOwoJdmVjdG9yPHZlY3RvcjxjaGFyPj4gdnZjKHcpOwoJZm9yKGF1dG8mIGEgOiB2dmMpCgkJYS5yZXNpemUoaCwgJ3gnKTsKCQkKCWNoYXIqKiBwcGMgPSBuZXcgY2hhcipbaF07CgkKCWZvcihpbnQgaSA9IDA7IGkgPCBoOyArK2kpCgl7CgkJcHBjW2ldID0gbmV3IGNoYXJbd107CgkJZm9yKGludCBqID0gMDsgaiA8IHc7ICsraikKCQl7CgkJCXBwY1tpXVtqXSA9IHZ2Y1tpXVtqXTsKCQl9Cgl9CgkKCWZvcihpbnQgaSA9IDA7IGkgPCBoOyArK2kpCgl7CgkJZm9yKGludCBqID0gMDsgaiA8IHc7ICsraikKCQl7CgkJCWNvdXQgPDwgcHBjW2ldW2pdOwoJCX0KCQljb3V0IDw8IGVuZGw7Cgl9CQp9