Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102211 邹昊辰 回文字符串I C++ Wrong Answer 1 MS 276 KB 304 2024-12-21 13:23:49

Tests(3/10):


Code:

#include<iostream> using namespace std; int main (){ char a[1001]; bool falg=true; int b; cin>>a>>b; for(int i=0;i<b/2;i++){ if(a[i]!=a[b-1-i]){ falg=false; } } if(falg){ cout<<"Yes"; } else cout<<"No"; return 0; }


Run Info:

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