#include <stdio.h>
#include <stdlib.h>
int main(){
int i,j;
int a,b;
int **mat;
mat
=(int*)malloc(sizeof(int)*a
); for(int x=0;x<a;x++){
mat
[x
]=(int**)malloc(sizeof(int*)*b
);} for(int y=0;y<a;y++){
for(int z=0;z<b;z++){
mat[y][z]=y*a+z+1;
}
}
for(i=0;i<a;i++){
for(j=0;j<b;j++){
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCgoKaW50IG1haW4oKXsKICAgIGludCBpLGo7CiAgICBpbnQgYSxiOwogICAgaW50ICoqbWF0OwogICAgc2NhbmYoIiVkICVkIiwmYSwmYik7CiAgICBtYXQ9KGludCopbWFsbG9jKHNpemVvZihpbnQpKmEpOwogICAgZm9yKGludCB4PTA7eDxhO3grKyl7CiAgICBtYXRbeF09KGludCoqKW1hbGxvYyhzaXplb2YoaW50KikqYik7fQogICAgZm9yKGludCB5PTA7eTxhO3krKyl7CiAgICAgICBmb3IoaW50IHo9MDt6PGI7eisrKXsKICAgICAgICAgIG1hdFt5XVt6XT15KmEreisxOwogICAgICAgfQogICAgfQogICAgZm9yKGk9MDtpPGE7aSsrKXsKICAgICAgICBmb3Ioaj0wO2o8YjtqKyspewogICAgICAgICAgICBwcmludGYoIiVkICIsbWF0W2ldW2pdKTsKICAgICAgICB9CiAgICAgICAgcHJpbnRmKCJcbiIpOwogICAgfQogICAgCiAgICBmcmVlKG1hdCk7CgoKICAgIHJldHVybiAwOwp9Cg==