Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161536 邹金行 31回文字符串 C++ Accepted 1 MS 276 KB 230 2026-10-06 10:22:54

Tests(10/10):


Code:

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