Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118282 吴梓玄 回文字符串I C++ Wrong Answer 1 MS 264 KB 264 2025-04-26 16:59:01

Tests(3/10):


Code:

#include <bits/stdc++.h> using namespace std; char s[1005]; int main() { char a; cin>>a; a=strlen(s); int b=0; for (int i=1;i<a;i++){ if(s[i]!=s[a-i+1]){ b=1; } } if(b==1){ cout<<"No"; } else{ cout<<"Yes"; } return 0; }


Run Info:

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