如何使用algorithm中的reverse函数
#include <iostream>
#include <string>
#include <algorithm>
#include <cstring>
using namespace std;
int main(){
string s = "hello";
reverse(s.begin(), s.end());
cout<<s<<endl;
char ss[] = "world";
reverse(, ss+strlen(ss));
cout << ss << endl;
return 0;
}