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_15119981_19989.cpp: In function 'void solve()':
0_0_15119981_19989.cpp:42:28: error: expected primary-expression before '[' token
             int minX = node[a].x, maxX = node[c].x, minY = node[a].y, maxY = node[c].y;
                            ^
0_0_15119981_19989.cpp:43:24: error: 'maxX' was not declared in this scope
             if (minX > maxX || minY > maxY) continue;
                        ^
0_0_15119981_19989.cpp:43:32: error: 'minY' was not declared in this scope
             if (minX > maxX || minY > maxY) continue;
                                ^
0_0_15119981_19989.cpp:43:39: error: 'maxY' was not declared in this scope
             if (minX > maxX || minY > maxY) continue;
                                       ^
0_0_15119981_19989.cpp:44:21: error: 'G' was not declared in this scope
             int b = G[minX][maxY], d = G[maxX][minY];
                     ^
0_0_15119981_19989.cpp:44:29: error: 'maxY' was not declared in this scope
             int b = G[minX][maxY], d = G[maxX][minY];
                             ^
0_0_15119981_19989.cpp:45:28: error: 'd' was not declared in this scope
             if (b != -1 && d != -1 && b != d)
                            ^
0_0_15119981_19989.cpp:55:45: error: expected primary-expression before '[' token
                             int minX2 = node[e].x, maxX2 = node[g].x, minY2 = node[e].y, maxY2 = node[g].y;
                                             ^
0_0_15119981_19989.cpp:56:41: error: 'maxX2' was not declared in this scope
                             if (minX2 > maxX2 || minY2 > maxY2) continue;
                                         ^
0_0_15119981_19989.cpp:56:50: error: 'minY2' was not declared in this scope
                             if (minX2 > maxX2 || minY2 > maxY2) continue;
                                                  ^
0_0_15119981_19989.cpp:56:58: error: 'maxY2' was not declared in this scope
                             if (minX2 > maxX2 || minY2 > maxY2) continue;
                                                          ^
0_0_15119981_19989.cpp:57:46: error: 'maxY2' was not declared in this scope
                             int f = G[minX2][maxY2], h = G[maxX2][minY2];
                                              ^
0_0_15119981_19989.cpp:58:44: error: 'h' was not declared in this scope
                             if (f != -1 && h != -1 && f != h)
                                            ^
0_0_15119981_19989.cpp:62:80: error: 'judge' was not declared in this scope
                                     ans = max(ans, judge(a, b, c, d, e, f, g, h));
                                                                                ^
0_0_15119981_19989.cpp: In function 'int main()':
0_0_15119981_19989.cpp:93:15: error: 'slove' was not declared in this scope
         slove();
               ^


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-11-16 07:14:52, Gzip enabled