include <iostream>
#include <cmath>
using namespace std;
int main(){
int j,k,s;
for(j=0;j<=9;j++)
{
for(k=0;k<=9;k++)
{
if(j!=k){
s=1000*j+100*j+10*k+k;
for(int i=0;i*i<=s;i++)
{if(s==i*i)
cout<<j<<j<<k<<k;
}
}
}}
return 0;
}
标签:交通肇事,std,main,return,int,include From: https://www.cnblogs.com/jmhyyds/p/17332942.html