#include <iostream>
using namespace std;
struct s {
float *f;
};
void make(s *p, float x = 10) {
float *f = new float;
*f = sizeof(*f) / sizeof(float) * 10;
p->f = f;
}
int main() {
s *ss = new s;
make(ss);
cout << *(*ss).f;
delete ss->f;
delete ss;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogICAgCnN0cnVjdCBzIHsKICAgIGZsb2F0ICpmOwp9OwogICAgCnZvaWQgbWFrZShzICpwLCBmbG9hdCB4ID0gMTApIHsKICAgIGZsb2F0ICpmID0gbmV3IGZsb2F0OwogICAgKmYgPSBzaXplb2YoKmYpIC8gc2l6ZW9mKGZsb2F0KSAqIDEwOwogICAgcC0+ZiA9IGY7Cn0KICAgIAppbnQgbWFpbigpIHsKICAgIHMgKnNzID0gbmV3IHM7CiAgICBtYWtlKHNzKTsKICAgIGNvdXQgPDwgKigqc3MpLmY7CiAgICBkZWxldGUgc3MtPmY7CiAgICBkZWxldGUgc3M7CiAgICByZXR1cm4gMDsKfQoK