题目链接:https://exam.nowcoder.com/cts/17482915/summary1.hello,world!签到题 #include <iostream> #include <string> using namespace std; int main() { string s="hello,world!"; int n = s.size(); for (int i = 0; i < n / 2; ++i) { char temp = s[i]; s[i] = s[n - 1 - i]; s[n - 1 - i] = tem...