#include <stdio.h>
#include <stdlib.h>
typedef struct node {
int categoria;
int atributoOuDecisao;
struct node *prox;
struct node *lista;
} No;
No *criaArvore(void){
No
*inicio
= malloc(sizeof(No
)); inicio->atributoOuDecisao = 0;
inicio->categoria = 0;
inicio->lista = NULL;
inicio->prox = NULL;
return inicio;
}
int main() {
criaArvore();
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KdHlwZWRlZiBzdHJ1Y3Qgbm9kZSB7CglpbnQgY2F0ZWdvcmlhOwoJaW50IGF0cmlidXRvT3VEZWNpc2FvOwoJc3RydWN0IG5vZGUgKnByb3g7CglzdHJ1Y3Qgbm9kZSAqbGlzdGE7Cn0gTm87CgpObyAqY3JpYUFydm9yZSh2b2lkKXsKICAgIE5vICppbmljaW8gPSBtYWxsb2Moc2l6ZW9mKE5vKSk7CiAJaW5pY2lvLT5hdHJpYnV0b091RGVjaXNhbyA9IDA7CiAJaW5pY2lvLT5jYXRlZ29yaWEgPSAwOwogCWluaWNpby0+bGlzdGEgPSBOVUxMOwogIAlpbmljaW8tPnByb3ggPSBOVUxMOwogIAlwcmludGYgKCJpbmljaW8gY3JpYWRvIik7CiAgIAlyZXR1cm4gaW5pY2lvOwp9CgppbnQgbWFpbigpIHsKCWNyaWFBcnZvcmUoKTsKfQ==