Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100496 31回文字符串 C++ Wrong Answer 1 MS 272 KB 258 2024-12-08 10:36:44

Tests(0/10):


Code:

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


Run Info:

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