#include <iomanip>
#include <iostream>
#include <string>
int main()
{
const unsigned width = 15;
const unsigned num_width = 2;
const unsigned string_width = width - num_width;
for (unsigned i = 0; i < width-num_width-1; ++i)
{
std::cout << std::setfill('0') << std::setw(num_width) << i;
std::cout << std::setfill(' ') << std::setw(string_width) << std::string(i+1, '*') << '\n';
}
}
I2luY2x1ZGUgPGlvbWFuaXA+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHN0cmluZz4KCmludCBtYWluKCkKewogICAgY29uc3QgdW5zaWduZWQgd2lkdGggPSAxNTsKICAgIGNvbnN0IHVuc2lnbmVkIG51bV93aWR0aCA9IDI7CiAgICBjb25zdCB1bnNpZ25lZCBzdHJpbmdfd2lkdGggPSB3aWR0aCAtIG51bV93aWR0aDsKCiAgICBmb3IgKHVuc2lnbmVkIGkgPSAwOyBpIDwgd2lkdGgtbnVtX3dpZHRoLTE7ICsraSkKICAgIHsKICAgICAgICBzdGQ6OmNvdXQgPDwgc3RkOjpzZXRmaWxsKCcwJykgPDwgc3RkOjpzZXR3KG51bV93aWR0aCkgPDwgaTsKICAgICAgICBzdGQ6OmNvdXQgPDwgc3RkOjpzZXRmaWxsKCcgJykgPDwgc3RkOjpzZXR3KHN0cmluZ193aWR0aCkgPDwgc3RkOjpzdHJpbmcoaSsxLCAnKicpIDw8ICdcbic7CiAgICB9Cn0K