Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152401 黄俊然 回文字符串I C++ Wrong Answer 1 MS 280 KB 526 2026-04-25 21:24:29

Tests(3/10):


Code:

#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(){ string s; int n; cin>>s; n=s.length(); for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if(s[n-i-1]==s[j]){ cout<<"Yes"; return 0; } } } cout<<"No"; return 0; }


Run Info:

------Input------
ryajncnycmxwvcevkhjthqisteeynuihofasfnizppacecxtmocfoaxihatpizntytqhgbhunmrkdmfyryhexnvxfjglomudkjuh
------Answer-----
No
------Your output-----
Yes