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