Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134101 王丞杰 回文字符串I C++ Wrong Answer 2 MS 268 KB 241 2025-10-25 16:44:12

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; char str1[1500]; int main(){ cin>>str1; int len =strlen(str1); for(int i=0;i<=len/2;i++){ if(str1[i] != str1[len-i-1]){ cout<<"no"; return 0; } } cout<<"yes"<<endl; }


Run Info:

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