#include using namespace std; int main(){ ios::sync_with_stdio(false); int N;cin>>N; int a=0,b=9; for(int i=1;i<=N;i++){ for(int j=1;j<=N;j++){ cout<<(rand() % (b-a))+ a<<' '; a+=10,b+=10; } cout<