F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_30738272_23078.cpp:9:4: error: 'N' was not declared in this scope
 }g[N];
    ^
0_0_30738272_23078.cpp:14:5: error: 'N' was not declared in this scope
 }zz[N*N];
     ^
0_0_30738272_23078.cpp:14:7: error: 'N' was not declared in this scope
 }zz[N*N];
       ^
0_0_30738272_23078.cpp: In function 'int judge(int, int)':
0_0_30738272_23078.cpp:28:8: error: 'zz' was not declared in this scope
     if(zz[i].a.x>zz[j].b.x) return 1;
        ^
0_0_30738272_23078.cpp:29:8: error: 'zz' was not declared in this scope
     if(zz[i].a.y>zz[j].b.y) return 1;
        ^
0_0_30738272_23078.cpp:30:8: error: 'zz' was not declared in this scope
     if(zz[j].a.x>zz[i].b.x) return 1;
        ^
0_0_30738272_23078.cpp:31:8: error: 'zz' was not declared in this scope
     if(zz[j].a.y>zz[i].b.y) return 1;
        ^
0_0_30738272_23078.cpp:33:8: error: 'zz' was not declared in this scope
     if(zz[i].a.x<zz[j].a.x&&zz[i].a.y<zz[j].a.y&&zz[i].b.x>zz[j].b.x&&zz[i].b.y>zz[j].b.y)
        ^
0_0_30738272_23078.cpp: In function 'int main()':
0_0_30738272_23078.cpp:43:18: error: 'mem' was not declared in this scope
         mem(map,0);
                  ^
0_0_30738272_23078.cpp:46:27: error: 'g' was not declared in this scope
             scanf("%d%d",&g[i].x,&g[i].y);
                           ^
0_0_30738272_23078.cpp:49:14: error: 'g' was not declared in this scope
         sort(g,g+n,cmp);
              ^
0_0_30738272_23078.cpp:58:25: error: 'zz' was not declared in this scope
                         zz[len].a.x=g[i].x;
                         ^
0_0_30738272_23078.cpp:72:35: error: 'zz' was not declared in this scope
                     maxx=max(maxx,zz[i].area+zz[j].area);
                                   ^
0_0_30738272_23078.cpp:74:35: error: 'zz' was not declared in this scope
                     maxx=max(maxx,zz[i].area);
                                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-28 03:18:52, Gzip enabled