Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
6370 slx 对称平方数1 C++ 运行超时 1000 MS 224 KB 267 2023-01-23 09:36:29

Tests(0/1):


#include <bits/stdc++.h> using namespace std; int main(){ int n,i,num,tem,m; n=256; i=1; while(i<256){ num=i*i; m=0; while(num>0){ tem=num%10; m=tem+m*10; num/10; } if(m=i*i){ printf("%d\n",i); } i++; } return 0; }


测评信息: