Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
124790 晏莞煜 回文字符串I C++ Wrong Answer 1 MS 272 KB 251 2025-07-12 15:47:24

Tests(0/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[1500]; int sum=0; cin>>a; int len=strlen(a); for(int i=0;i<=len;i++){ if(a[i]!=a[len-1]){ cout<<"No"; return 0; } } cout<<"Yes"; return 0; }


Run Info:

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