| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81679 | 石茂诤 | 回文字符串I | C++ | Wrong Answer | 0 MS | 276 KB | 220 | 2024-07-12 15:06:02 |
# include<bits/stdc++.h> using namespace std; int main(){ char a[1001]; cin>>a; for(int i=1;i<=strlen(a)/2;i++){ if(a[i]!=a[strlen(a)-i-1]){ cout<<"on"; return 0; } } cout<<"yes"; return 0; }
------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
yes