| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70083 | 石茂诤 | 31回文字符串 | C++ | Accepted | 1 MS | 280 KB | 259 | 2024-04-13 16:13:56 |
#include<bits/stdc++.h> using namespace std; int main(){ bool f=1; string a; getline(cin,a); int s=a.size(); for(int i=1;i<s;i++){ if(a[i]!=a[s-i-1]){ cout<<"No"<<endl; return 0; } } if(f) cout<<"Yes"<<endl; return 0; }