Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
338053 | 李铭泽 | 【C3-T】找回文数? | C++ | 通过 | 100 | 5 MS | 252 KB | 285 | 2025-08-05 17:12:49 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,x; cin>>n>>m; for(int i=1;i<=n;i++){ for(int j=1;j<=m;j++){ cin>>x; int m=x,s=0; while(m){ s=s*10+m%10; m/=10; } if(s==x) cout<<x<<endl; } } return 0; }