#include <iostream> #include <algorithm> #include<numeric>//accumulate函数在这个库中定义 using namespace std; string mimayanzheng(string str){ int arr[4] ={0}; int num = 0; int len = str.size(); for(int i=0;i<len;i++){ if(isupper(str[i])){ arr[0] = 1...