| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82323 | 石晋骁 | 31回文字符串II | C++ | Wrong Answer | 1 MS | 276 KB | 294 | 2024-07-13 10:42:31 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[1000]; cin >> a; int al = strlen(a); for(int i = 0;i < al;i++){ for(int j = i;j < al;j++){ if(a[i] == a[al- i-1]){ cout << "Yes"; return 0 ; } } } cout << "No"; return 0; }
------Input------
oaksjdhfgvbcnxmzkjndbbdnjk
------Answer-----
Yes
------Your output-----
No