代码如下 #include<bits/stdc++.h> using namespace std; char a[10005]; int s[5][10005]; int main(){ scanf("%s",a+1); for(int i=1;i<=strlen(a+1);i++){ if('a'<=a[i]&&a[i]<='z'){ s[1][++s[1][0]]=a[i]; } else if('A'<=a[i]&&a[i]&l...