#include <stdio.h>
enum node_type {LEAF, NODE};
struct node {
enum node_type type;
};
int parse_tree( struct node* n ) {
switch( n->type ) {
case NODE: return 1;
case LEAF: return 2;
}
}
int main() {
struct node n;
printf("%d", parse_tree(&n));
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgplbnVtIG5vZGVfdHlwZSB7TEVBRiwgTk9ERX07CgpzdHJ1Y3Qgbm9kZSB7CiAgZW51bSBub2RlX3R5cGUgdHlwZTsKfTsKCmludCBwYXJzZV90cmVlKCBzdHJ1Y3Qgbm9kZSogbiApIHsKICAgIHN3aXRjaCggbi0+dHlwZSApIHsKICAgIGNhc2UgTk9ERTogcmV0dXJuIDE7CiAgICBjYXNlIExFQUY6IHJldHVybiAyOwogICAgfSAgCn0KCmludCBtYWluKCkgewogIHN0cnVjdCBub2RlIG47CiAgcHJpbnRmKCIlZCIsIHBhcnNlX3RyZWUoJm4pKTsKfQ==