Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159687 赵奕杰 31回文字符串 C++ Wrong Answer 1 MS 268 KB 221 2026-09-06 14:36:03

Tests(0/10):


Code:

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


Run Info:

------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
No