#include <iostream>
#include <iomanip>
int main()
{
const int indent = 20 , letters = 6;
int extra= 0;
std::cout << std::setfill( ' ' );
std::cout << "Number" << std::setw( indent ) << "Square" << std::endl;
for( int i = 0; i < 20; ++i )
{
if( i < 10 ) extra = 0;
else if( i < 100 ) extra = 1;
std::cout << i << std::setw( indent - 1 - extra ) << ' ';
std::cout << i * i << std::endl;
}
return( 0 );
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KCmludCBtYWluKCkKewoJY29uc3QgaW50IGluZGVudCA9IDIwICwgbGV0dGVycyA9IDY7CglpbnQgZXh0cmE9IDA7CglzdGQ6OmNvdXQgPDwgc3RkOjpzZXRmaWxsKCAnICcgKTsKCXN0ZDo6Y291dCA8PCAiTnVtYmVyIiA8PCBzdGQ6OnNldHcoIGluZGVudCApIDw8ICJTcXVhcmUiIDw8IHN0ZDo6ZW5kbDsKCQoJZm9yKCBpbnQgaSA9IDA7IGkgPCAyMDsgKytpICkKCXsKCQlpZiggaSA8IDEwICkgZXh0cmEgPSAwOwoJCWVsc2UgaWYoIGkgPCAxMDAgKSBleHRyYSA9IDE7CgkJc3RkOjpjb3V0IDw8IGkgPDwgc3RkOjpzZXR3KCBpbmRlbnQgLSAxIC0gZXh0cmEgKSA8PCAnICc7CgkJc3RkOjpjb3V0IDw8IGkgKiBpIDw8IHN0ZDo6ZW5kbDsgCgl9CglyZXR1cm4oIDAgKTsKfQ==