#include <stdio.h>
struct Op
{
const char *name;
struct Op *parent;
struct Op *children;
};
static struct Op op_subops[]; // fwd ref to children of ops
static struct Op ops[128] = {
{"op",0,&op_subops[0]}
};
static struct Op op_subops[4] = {
{"subop1",&ops[1],0},
{"subop2",&ops[1],0}
};
int main(void) {
// your code goes here
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgoKc3RydWN0IE9wCnsKICAgIGNvbnN0IGNoYXIgKm5hbWU7CiAgICBzdHJ1Y3QgT3AgICpwYXJlbnQ7CiAgICBzdHJ1Y3QgT3AgICpjaGlsZHJlbjsKfTsKCnN0YXRpYyBzdHJ1Y3QgT3Agb3Bfc3Vib3BzW107IC8vIGZ3ZCByZWYgdG8gY2hpbGRyZW4gb2Ygb3BzCgpzdGF0aWMgc3RydWN0IE9wIG9wc1sxMjhdID0gewogICAgeyJvcCIsMCwmb3Bfc3Vib3BzWzBdfQp9OwoKc3RhdGljIHN0cnVjdCBPcCBvcF9zdWJvcHNbNF0gPSB7CiAgICB7InN1Ym9wMSIsJm9wc1sxXSwwfSwKICAgIHsic3Vib3AyIiwmb3BzWzFdLDB9Cn07CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gMDsKfQo=