uva 221 Urban Elevations

#include
#include
#include
using namespace std;
const int MAXN=100+5;
struct Building{
    int Id;
    double x,y,w,d,h;
    bool operator < (const Building &rhs) const {
        return x=mx;
}
bool visible(int i,double mx)
{
    if(!cover(i,mx)) return false;
    for(int k=0;k=b[i].h&&cover(k,mx)) return false;
    return true;
}
int main()
{
    int kase=0;
    while(scanf("%d",&n)==1&&n)
    {
        for(int i=0;i


 
  

你可能感兴趣的:(模拟题)