Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126124 | 赵梓渊 | [在线测评解答教程] A+B Problem | C++ | Wrong Answer | 1 MS | 268 KB | 292 | 2025-07-16 15:05:53 |
#include<bits/stdc++.h> using namespace std; int main() { string s; cin>>s; int len = s.size(); bool fiag=true; for(int i=0;i<len/2;++i){ if(s[i]!=s[len-i-1]){ fiag=0; break; } } if(fiag)cout<<"Yes"<<endl; else cout<<"No"<<endl; return 0; }
------Input------
87 93
------Answer-----
180
------Your output-----
No