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