#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int *integerPower(int y) {
int *ret
= malloc(4 * sizeof(int)); ret[3] = ret[0] + ret[1] + ret[2];
return ret;
}
int main(void) {
int *valores = integerPower(5);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPG1hdGguaD4KIAppbnQgKmludGVnZXJQb3dlcihpbnQgeSkgewoJaW50ICpyZXQgPSBtYWxsb2MoNCAqIHNpemVvZihpbnQpKTsKICAgIHJldFswXSA9IHBvdyh5LCAyKTsKICAgIHJldFsxXSA9IHBvdyh5LCAzKTsKICAgIHJldFsyXSA9IHBvdyh5LCA0KTsKICAgIHJldFszXSA9IHJldFswXSArIHJldFsxXSArIHJldFsyXTsKICAgIHJldHVybiByZXQ7Cn0KaW50IG1haW4odm9pZCkgewoJaW50ICp2YWxvcmVzID0gaW50ZWdlclBvd2VyKDUpOwoJcHJpbnRmKCIlZFxuIiwgdmFsb3Jlc1swXSk7CglwcmludGYoIiVkXG4iLCB2YWxvcmVzWzFdKTsKCXByaW50ZigiJWRcbiIsIHZhbG9yZXNbMl0pOwoJcHJpbnRmKCIlZFxuIiwgdmFsb3Jlc1szXSk7CglmcmVlKHZhbG9yZXMpOwp9