| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137811 | 万骏博 | 输出回文数 | C++ | Accepted | 1 MS | 268 KB | 266 | 2025-11-22 17:21:48 |
#include<bits/stdc++.h> using namespace std; int n,m=101,a,b=101,t=0; int main(){ scanf("%d",&n); for(int i=1;i<=n;i++){ int k=i; int m=0; for(;k>0;){ m=m*10+k%10; k/=10; } if(i==m){ printf("%d\n",i); } } return 0; }