Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79835 朱子相 回文字符串I C++ Wrong Answer 0 MS 276 KB 282 2024-07-10 15:42:47

Tests(0/10):


Code:

#include<iostream> #include<cmath> #include<cstring> #include<iomanip> using namespace std; int main() { char a[150]; int n; cin>>a; n = strlen(a); for(int i=0;i<n;i++){ if(a[i] != a[n-i-1]){ cout<<"No"; return 0; } } cout<< "yes"; }


Run Info:

------Input------
ltpffytlohuaoofsqawhbfrvtppczdnumeicqcsvfgjvydqhhuuhhqdyvjgfvscqciemundzcpptvrfbhwaqsfooauholtyffptl
------Answer-----
Yes
------Your output-----
yes