Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
341154 李铭泽 【C3-T】判断回文数(通用版) C++ 运行超时 20 1000 MS 244 KB 260 2025-08-22 15:23:44

Tests(2/10):


#include<bits/stdc++.h> using namespace std; int main(){ long long n,m,s,c=0; cin>>n; for(int i=1;i<=n;i++){ m=i; s=0; while(m){ s=s*10+m%10; m/=10; } if(i==s) c+=1; } cout<<"yes"; if(c==0) cout<<"no"; return 0; }


测评信息: