Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62089 张誉腾 回文字符串I C++ Wrong Answer 1 MS 272 KB 253 2023-12-17 11:42:46

Tests(3/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char s[999]; int n; scanf("%s",s); n=strlen(s); int i=0,j=n-1; while(i<=j){ if(s[i]==s[j]){ i++; j--; }else{ cout<<"no"; return 0; } } cout<<"Yes"; }


Run Info:

------Input------
ryajncnycmxwvcevkhjthqisteeynuihofasfnizppacecxtmocfoaxihatpizntytqhgbhunmrkdmfyryhexnvxfjglomudkjuh
------Answer-----
No
------Your output-----
no