Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144286 万骏博 回文字符串I C++ Accepted 0 MS 272 KB 233 2026-01-21 11:00:45

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; string a,c=""; int main(){ cin>>a; int p=a.size(),l=0; for(int j=p-1;j>=0;j--){ c+=a[j]; } if(a==c){ printf("Yes"); } else{ printf("No"); } return 0; }