| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146248 | 王培臻 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 268 KB | 224 | 2026-01-27 14:32:08 |
#include<bits/stdc++.h> using namespace std; int main() { char a[152]; long long s; cin>>a>>s; for(int i=0;i<s/2;i++){ if(a[i]!=a[i-1-i]){ cout<<"no"; return 0; } } cout<<"yes"; return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes