统计字符 https://www.nowcoder.com/practice/539054b4c33b4776bc350155f7abd8f5 #include <iostream> #include <unordered_map> using namespace std; void CountChar(string input) { int len = input.size(); unordered_map<char, int> pair; for (int i = 0; i < len; i++) { if (isalpha(in...