| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 141145 | 傅小轩 | 回文数 | C++ | Compile Error | 0 MS | 0 KB | 237 | 2025-12-21 12:06:30 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int rn=0,a; a=n; while(a!=0){ rn=rn*10+a%10; a=a/10 } if(n==rn){ cout<<"YES"; }else{ cout<<" NO" } return 0; }
Main.cc: In function 'int main()': Main.cc:11:2: error: expected ';' before '}' token } ^ Main.cc:19:2: error: expected ';' before '}' token } ^