//字符串测试 #include<cstdio> #include<iostream> #include<map> #include<string> using namespace std; char a[100]; int main() { string s1; map<char,int> ma={ {'a',1}, {'b',2}, {'c',3}, {'d',1}, {'e',2}, {'f',3}, {'g',1}, {'h',2}, {'i',3}, {'j',1}, {'k',2}, {'l...