S001-AC.cc
305 Bytes
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
while(1)
{
if(cin.eof())
{
return 0;
}
for(int i = 0; i < n; i++)
{
for(int j = 0; j < n; j++)
{
cout << n;
}
cout << endl;
}
cin >> n;
if(cin.eof())
{
return 0;
}
cout << endl;
}
}