#include<iostream>
using namespace std;
int main()
{
int carp = 0, i, j, k;
for (i = 0; i <= 9; i++)
{
carp = i * 1100;
j = 0;
while (j != i && j <= 9)
{
carp += j * 11;
for(k = 31; k < 100; k++)
if (k * k == carp)
{
cout << carp;
break;
}
carp -= j * 11;
j++;
}
}
return 0;
}
标签:交通肇事,std,int,carp,++,11 From: https://www.cnblogs.com/atrue/p/17334257.html