Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
139786 | 刘星辰liuxingchen | 求逆序字符串 | C++ | 通过 | 100 | 0 MS | 248 KB | 137 | 2024-03-25 20:14:33 |
#include<bits/stdc++.h> using namespace std; string s; int main() { cin>>s; reverse(s.begin(),s.end()); cout<<s; return 0; }