| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155774 | 李昱龙 | 31回文字符串 | C++ | Accepted | 3 MS | 276 KB | 269 | 2026-06-13 14:21:28 |
#include<bits/stdc++.h> using namespace std; string s1; int main(){ int f=0; cin>>s1; int t=s1.size(); for(int i=0;i<t/2;i++){ if(s1[i] != s1[t-1-i]){ f=1; break; } } if(f==0) cout<<"Yes"; else cout<<"No"; return 0; }