1
struct BT { int v; struct BT* l; struct BT* r; }; int bt_sum(struct BT* root){ if(!root) return 0; return root->v+bt_sum(root->l)+bt_sum(root->r); }