#include <iostream>
#include <cstdlib>
#include <ctime>
#include <string>
int main()
{
std::srand( std::time(nullptr) ) ;
std::string five_x_seven ;
for( int i = 0 ; i < 5 ; ++i ) // 5 lines
{
for( int j = 0 ; j < 7 ; ++j ) // write 7 random digits per line
{
five_x_seven += std::rand() % 10 + '0' ;
five_x_seven += ' ' ;
}
five_x_seven += '\n' ; // and end with a new line
}
std::cout << five_x_seven ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGxpYj4KI2luY2x1ZGUgPGN0aW1lPgojaW5jbHVkZSA8c3RyaW5nPgoKaW50IG1haW4oKQp7CiAgICBzdGQ6OnNyYW5kKCBzdGQ6OnRpbWUobnVsbHB0cikgKSA7CgogICAgc3RkOjpzdHJpbmcgZml2ZV94X3NldmVuIDsKCiAgICBmb3IoIGludCBpID0gMCA7IGkgPCA1IDsgKytpICkgLy8gNSBsaW5lcwogICAgewogICAgICAgIGZvciggaW50IGogPSAwIDsgaiA8IDcgOyArK2ogKSAvLyB3cml0ZSA3IHJhbmRvbSBkaWdpdHMgcGVyIGxpbmUKICAgICAgICB7CiAgICAgICAgICAgIGZpdmVfeF9zZXZlbiArPSBzdGQ6OnJhbmQoKSAlIDEwICsgJzAnIDsKICAgICAgICAgICAgZml2ZV94X3NldmVuICs9ICcgJyA7CiAgICAgICAgfQogICAgICAgIGZpdmVfeF9zZXZlbiArPSAnXG4nIDsgLy8gYW5kIGVuZCB3aXRoIGEgbmV3IGxpbmUKICAgIH0KCiAgICBzdGQ6OmNvdXQgPDwgZml2ZV94X3NldmVuIDsKfQo=