| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155777 | 李昱龙 | 31回文字符串 | C++ | Wrong Answer | 0 MS | 272 KB | 233 | 2026-06-13 14:31:33 |
#include<bits/stdc++.h> using namespace std; string s1,s2=""; int main(){ cin>>s1; int t=s1.size(); for(int i=0;i<t;i++){ s2+=s1[t-1-i]; } cout<<s2; if(s1==s2) cout<<"yes"; else cout<<"no"; return 0; }
------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptlyes