字符串翻转,细节
本题要点:
1、空格可能有多个
2、字符串前缀和后缀都有空格
3、用 getline 读入字符串
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int T;
string s;
void reverse(int a, int b)
{
for(int i = a; i <= a +</