Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
11779 蒋瀚辉 字符倒序 C++ Accepted 2 MS 716 KB 178 2021-05-17 17:17:28

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; string a; int len; int main() { getline(cin,a); len=a.size(); for(int i=len-1;i>=0;i--) cout << a[i]; return 0; }