| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156689 | 令狐文丽 | 31回文字符串 | C++ | Wrong Answer | 1 MS | 284 KB | 221 | 2026-07-07 09:46:13 |
#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); for(int i = 0;i<=s.size()/2;i++){ if(s[i]!= s[s.size()-1-i]){ cout<<"N"; return 0; } } cout<<"Y"; return 0; }
------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
Y