Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
14903 仇翌楷 反转字符串 C++ Accepted 3 MS 708 KB 203 2021-07-08 20:12:15

Tests(10/10):


Code:

#include <bits/stdc++.h> using namespace std; int main() { char a[105]; char* p = a; gets(a); int len = strlen(a); for (int j = len - 1; j >= 0; j--) { cout << *(p + j); } return 0; }