| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75690 | sh25_zhuwy | 判断字符串是否为回文 | C++ | Accepted | 0 MS | 252 KB | 308 | 2025-12-09 14:22:04 |
#include<bits/stdc++.h> using namespace std; int main() { string k; cin>>k; int n=k.length(); for(int u=1;u<=n/2+1;u++) { if(k[u-1]!=k[n-u]) { cout<<"no"; break; } else if(u==n/2+1) { cout<<"yes"; } } return 0; }