Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79824 吴雨轩 回文字符串I C++ Wrong Answer 1 MS 276 KB 254 2024-07-10 15:39:24

Tests(3/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[1001]; int n; cin>>a; cin>>n; for(int i=0;i<n;i++){ if(a[i] != a[n - i -1] ){ cout<<"No"; return 0; } } cout<<"Yes"; }


Run Info:

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