| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150884 | 李朋秦 | 反转字符串 | C++ | Accepted | 1 MS | 272 KB | 226 | 2026-04-02 09:31:45 |
#include<bits/stdc++.h> using namespace std; int main() { char *s=new char[101]; memset(s,0,sizeof(char)*101); gets(s); int l=strlen(s); for(int i=l-1;i>=0;i--){ cout<<s[i]; } delete []s; return 0; }