Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
124796 陈梓钒 回文字符串I C++ Wrong Answer 1 MS 272 KB 253 2025-07-12 15:49:22

Tests(0/10):


Code:

#include<bits/stdc++.h> #include<cstring> using namespace std; char arr[1050]; int main(){ cin>>arr; int len=strlen(arr); for(int i=0;i<=len/2;i++){ if(arr[i] !=arr[len-1-i]){ cout<<"No"; } return 0; } cout<<"Yes"; return 0; }


Run Info:

------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----