#include <stdio.h>
#include <stdlib.h>
int* fun();
int main()
{
int *a = fun();
return 0;
}
int* fun()
{
int *a
=(int*) malloc(sizeof(int)); *a = 10;
return a;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KaW50KiBmdW4oKTsKIAppbnQgbWFpbigpCnsKICAgIGludCAqYSA9IGZ1bigpOwogICAgcHJpbnRmKCIlZCIsKmEpOwogCiAgICByZXR1cm4gMDsKfQppbnQqIGZ1bigpCnsKICAgIGludCAqYSA9KGludCopIG1hbGxvYyhzaXplb2YoaW50KSk7CiAgICAqYSA9IDEwOwogICAgZnJlZShhKTsKICAgIHJldHVybiBhOwogICAgCn0=