#include <stdio.h>
#include <stdlib.h>
int main(){
int i, j, k=1;
int a, b;
int **gyou;
gyou
=(int**)malloc(sizeof(int*)*a
);
for(i=0;i<a;i++){
int *retu;
retu
=(int*)malloc(sizeof(int)*b
); gyou[i]=retu;
}
for(i=0;i<a;i++){
for(j=0;j<b;j++){
gyou[i][j]=k;
k++;
}
}
for(i=0;i<a;i++){
for(j=0;j<b;j++){
}
}
for(i=0;i<a;i++){
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKCl7CiAgICBpbnQgaSwgaiwgaz0xOwogICAgaW50IGEsIGI7CiAgICBpbnQgKipneW91OwogICAgCiAgICBzY2FuZigiJWQgJWQiLCZhLCZiKTsKCiAgICBneW91PShpbnQqKiltYWxsb2Moc2l6ZW9mKGludCopKmEpOyAgCgogICAgZm9yKGk9MDtpPGE7aSsrKXsKICAgICAgICBpbnQgKnJldHU7CiAgICAgICAgcmV0dT0oaW50KiltYWxsb2Moc2l6ZW9mKGludCkqYik7CiAgICAgICAgZ3lvdVtpXT1yZXR1OwogICAgfQoKICAgIGZvcihpPTA7aTxhO2krKyl7CiAgICAgICAgZm9yKGo9MDtqPGI7aisrKXsKICAgICAgICAgICAgZ3lvdVtpXVtqXT1rOwogICAgICAgICAgICBrKys7CiAgICAgICAgfQogICAgfQoKICAgIGZvcihpPTA7aTxhO2krKyl7CiAgICAgICAgZm9yKGo9MDtqPGI7aisrKXsKICAgICAgICAgICAgcHJpbnRmKCIlZCAiLGd5b3VbaV1bal0pOwogICAgICAgIH0KICAgICAgICBwcmludGYoIlxuIik7CiAgICB9CgogICAgZm9yKGk9MDtpPGE7aSsrKXsKICAgICAgICBmcmVlKGd5b3VbaV0pOwogICAgfQogICAgZnJlZShneW91KTsKCiAgICByZXR1cm4gMDsKfQ==