| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 34352 | sunhuifeng | 对称平方数1 | C++ | Accepted | 0 MS | 252 KB | 404 | 2023-12-19 21:15:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,i,num,temp,m; n=256; i=1; cout<<"0"<<endl; while(i<256){ num=i*i; m=0; while(num>0){ temp=num%10; m=temp+m*10; num=num/10; } if(m==i*i){ printf("%d\n",i); } i++; } return 0; }