#include #include #include<unordered_map> #include using namespace std; int main() { string s, m; getline(cin, s); unordered_map<char, int> maps; set sets; for (char c : s) {//统计出现次数 maps[c]++; } for (auto c = maps.begin(); c != maps.end(); c++) { //按照次数排序 sets.insert(c->second); } au...