提交时间:2023-02-04 15:40:38

运行 ID: 7512

#include<iostream> using namespace std; int main () { int i; int g=i*i%10; int s=i*i/10%10; int b=i*i/100; if(i<=256){ if ((g==b)||(g==s,b==0)||(s==b==0)){ cout<<i; } } }