字符串转数字cstdlib
atoi()
string
stoi()
字符串翻转cstring
strrev()
algorithm
reverse()
string s2(s1.rbegin(),s1.rend());
2022-05-23