Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82282 张黄源 31回文字符串 C++ Accepted 1 MS 284 KB 232 2024-07-13 10:35:06

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ string a; getline(cin,a); int len=a.size(); for(int i=0;i<len;i++){ if(a[i] != a[len-i-1]){ cout<<"No"; return 0; } } cout<<"Yes"; return 0; }