1 #include<cstdio> 2 #include<cstdlib> 3 #include<cstring> 4 #include<vector> 5 using namespace std; 6 char a[105]; 7 struct Node{ 8 Node *lson; 9 Node *rson; 10 char data[105]; 11 bool brackets = 0; 12 }; 13 char b[105]; 14 int num; 15 bool sign = 1; 16 vector<char>sy[6]; 17 Node *Structure(){ 18 Node *head, *p_node, *q_node, *d_node; 19 while(a[num] != '