Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150332 翁思宸 31回文字符串II C++ Wrong Answer 1 MS 276 KB 480 2026-03-27 18:22:58

Tests(0/10):


Code:

//1415 31回文字符串II #include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ string n; int a,l,s; cin>>n; l=n.length(); for(int i=0;i<l;i++){ for(int j=0;j<l;j++){ for(int k=0;k<l;k++){ if(n[k]==n[l-1-k]){ cout<<"Yes"; return 0; } } } } cout<<"No"; return 0; }


Run Info:

------Input------
oaksjdhfgvbcnxmzkjndbbdnjk
------Answer-----
Yes
------Your output-----
No