#include <stdio.h>
#include <math.h>
int main()
{ /*一个整数,加上100后是一个
完全平方数,再加上168后也是
一个完全平方数,求该数是多少*/
long int i,x,y;
for (i=1;i<=100000;i++)
{
x=sqrt(i+100);
y=sqrt(i+268);
if(x*x==(i+100)&&y*y==(i+268))
printf("\n%d\n",i);
}
getch();
return 0;
}