Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139233 Kevin 反转字符串 C++ Accepted 0 MS 268 KB 240 2025-12-05 19:13:57

Tests(10/10):


Code:

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