| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77759 | 邓嘉懿 | 回文字符串I | C++ | Wrong Answer | 0 MS | 272 KB | 268 | 2024-06-15 12:05:56 |
#include<bits/stdc++.h> using namespace std; int main(){ char s[1001]; scanf("%s",s); int len=strlen(s); int i=0,j=len-1; while(i<=j){ if(s[i]==s[j]){ i++; j++; }else{ cout<<"no"; return 0; } } cout<<"yes"; return 0; }
------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
no