| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82292 | 刘慕莀 | 31回文字符串 | C++ | Compile Error | 0 MS | 0 KB | 206 | 2024-07-13 10:37:25 |
#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); for(int i=0;i<=i<len;i++){ if(s[i]!=s[len-1-i]){ cout<<"No"; return 0; } } cout<<"Yes"; return 0; }
Main.cc: In function 'int main()': Main.cc:6:18: error: 'len' was not declared in this scope for(int i=0;i<=i