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