| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132515 | 黄枳润 | 31回文字符串 | C++ | Wrong Answer | 1 MS | 276 KB | 516 | 2025-10-08 19:03:11 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b=0,j=0; string s; cin>>s; a=s.size(); for(int i=a/2;i>=0;i--){ if(s[i]!=s[j]){ b=1; } j+=1; } if(b==0){ cout<<"Yes"; }else{ cout<<"No"; } return 0; }
------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
No