| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159706 | 邓弘锐 | 31回文字符串 | C++ | Runtime Error | 1 MS | 636 KB | 223 | 2026-09-06 14:43:30 |
#include<bits/stdc++.h> using namespace std; string a,b=""; int main(){ cin>>a; int len=a.size(); for(int i=len-1;i>=0;i++){ b+=a[i]; } if(a==b)cout<<"Yes"; else cout<<"No"; return 0; }
Runtime Error:Segmentation fault