题目描述
blablabla
样例
#include <iostream>
#include <cstdio>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
cout << fixed;
cout << setprecision(0);
int n;
while(cin >> n, n)
{
for (int i = 1; i <= n; i ++ )
{
for (int j = 1; j <= n; j ++ )
{
cout << pow(2, i + j - 2) << ' ';
}
cout << endl;
}
if (n) cout << endl;
}
return 0;
}