Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150880 李明秦 反转字符串 C++ Wrong Answer 0 MS 268 KB 180 2026-04-02 09:26:08

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char *a=new char[101]; gets(a); int l=strlen(a); for(int i=l;i>=0;i--)cout<<a[i]; delete []a; return 0; }


Run Info:

------Input------
abc nnc
------Answer-----
cnn cba
------Your output-----