| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 161537 | 颜学俊逸 | 31回文字符串 | C++ | Accepted | 1 MS | 280 KB | 247 | 2026-10-06 10:22:55 |
#include<bits/stdc++.h> using namespace std; string s; int main() { cin >> s; int len = s.size(); for(int i = 0; i <= len / 2; i++) { if(s[i] != s[len - 1 - i]) { cout << "No"; return 0; } } cout << "Yes"; return 0; }