#include<iostream>
#include<math.h>
using namespace std;
int main()
{ int x1=2,x2=-2,y1=2,y2=-2;
double d1,d2,d3,d4,x,y;
cin>>x>>y;
d1=sqrt((2-x)*(2-x)+(2-y)*(2-y));
d2=sqrt((2-x)*(2-x)+(-2-y)*(-2-y));
d3=sqrt((-2-x)*(-2-x)+(2-y)*(2-y));
d4=sqrt((-2-x)*(-2-x)+(-2-y)*(-2-y));
if(d1>1&&d2>1&&d3>1&&d4>1)
cout<<"建筑高度为:0";
else
cout<<"建筑高度为:10" ;
return 0;
}
收获:&&且