| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 161541 | 杜禹轩 | 31回文字符串 | C++ | Accepted | 1 MS | 284 KB | 228 | 2026-10-06 10:29:27 |
#include <bits/stdc++.h> using namespace std; int main() { string s,n=""; cin>>s; int l=s.size(); for(int i=l-1;i>=0;i--){ n+=s[i]; } if(n==s){ cout<<"Yes"; }else{ cout<<"No"; } return 0; }