| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134956 | 赵悦然 | 回文数 | C++ | Compile Error | 0 MS | 0 KB | 281 | 2025-11-01 19:20:29 |
#include<iostream> using namespace std; int main(){ int num,n=0,a=0,b=0; cin>>num; while(i!=0){ a=n%10; b=b*10+a; n=n/10; } if(b==num) cout<<"yes"<<endl; else cout<<"no"<<endl; erturn 0; }
Main.cc: In function 'int main()':
Main.cc:6:11: error: 'i' was not declared in this scope
while(i!=0){
^
Main.cc:15:5: error: 'erturn' was not declared in this scope
erturn 0;
^