Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126113 | 黄思翔 | 31回文字符串 | C++ | Wrong Answer | 0 MS | 272 KB | 317 | 2025-07-16 12:55:27 |
#include <bits/stdc++.h> using namespace std; int a[150]; int main(){ string s; getline(cin, s); int i=s.size()-1; int j=0; while((j<i)&&(s[j]==s[i])) { i--; j++; } if(j>=i) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }
------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
yes