| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 151732 | 杜禹轩 | 输出回文数 | C++ | Accepted | 40 MS | 276 KB | 230 | 2026-04-18 14:13:36 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ int f=0,n=i; while (n!=0){ f=f*10+n%10; n=n/10; } if(i==f){ cout<<i<<endl; } } return 0; }