判断的情况挺多,写的有点乱 #include <algorithm> #include <sstream> #include <vector> #include <map> using namespace std; int main() { string str; map<string,int> m={ {"3",3}, {"4",4}, {"5",5}, {"6",6}, {"7",7}, {"8",8}, {"9",9}, {"10",10}, {"J",11}, {"Q",12}, {"k",13}, {"A",14}, {"j...