Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139232 Kevin 反转字符串 C++ Wrong Answer 0 MS 268 KB 206 2025-12-05 19:11:02

Tests(4/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++; } cout<<b; return 0; }