#include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; void print(string const s){ cout << s << endl; } bool compare(string s1, string s2){ if (s1.size() != s2.size())//长度不一样,长度短的更小 return s1.size() < s2....