昨天没通过,今天发现多大了一个空格,不知道现在能不能通过全部案例。 #include<iostream> #include<vector> #include<string> #include<cstdio> #include<algorithm> using namespace std; struct node { string name; vector<node *> son; node *parent; }; bool sortCmp(node* const a1, node* const...