| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79208 | 尚雨钒 | 回文数 | C++ | Compile Error | 0 MS | 0 KB | 233 | 2024-06-30 15:13:34 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int r=0; int ts=n; while(n>0){ r=r*10+n%10; n/=10 } if(r==ts){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }
Main.cc: In function 'int main()': Main.cc:11:2: error: expected ';' before '}' token } ^