#include <iostream> using namespace std; #include <bits/stdc++.h> const string alpha = "abcdefghijklmnopqrstuvwxyz"; int main() { string s, temp,res; getline(cin,s); res = s; //搜索字符c和他的大写如果s[i]是字母并填入res中对应的位置 for(int i = 0; i < 26; i++){ char c1 = alpha[i], c2 = toupper(c1);...