#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> using namespace std; typedef struct node { int num; struct node* left; struct node* right; } node, *tree; void insert(tree& t, int x, int father) { if (t == NULL) { t = (node*)malloc(sizeof...