题解 | #单组_字符串#
单组_字符串
https://www.nowcoder.com/practice/e3a57b2ff6de4aefb82af98925df544e
#include <iostream> #include <algorithm> #include <string> using namespace std; int main() { int n; string s, ss; cin >> n; cin >> s; reverse(s.begin(),s.end()); cout << s; } // 64 位输出请用 printf("%lld")