#include <iostream>
int main() {
const int N = 10;
for( int rows = 0; rows < N; ++rows )
{
for( int columns = 0; columns < rows + 1; ++columns )
{
std::cout << '*';
}
std::cout << std::endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKCmludCBtYWluKCkgewoJY29uc3QgaW50IE4gPSAxMDsKCWZvciggaW50IHJvd3MgPSAwOyByb3dzIDwgTjsgKytyb3dzICkKCXsKICAgIAlmb3IoIGludCBjb2x1bW5zID0gMDsgY29sdW1ucyA8IHJvd3MgKyAxOyAgKytjb2x1bW5zICkKICAgIAl7CiAgICAJIHN0ZDo6Y291dCA8PCAnKic7CiAgICAJfQogICAgCXN0ZDo6Y291dCA8PCBzdGQ6OmVuZGw7Cgl9CglyZXR1cm4gMDsKfQ==