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_26111432_13196.cpp:13:17: error: array bound is not an integer constant before ']' token
 int maxs[maxn<<2];
                 ^
0_0_26111432_13196.cpp:19:11: error: array bound is not an integer constant before ']' token
 }node[maxn];
           ^
0_0_26111432_13196.cpp: In function 'void Pushup(int)':
0_0_26111432_13196.cpp:42:2: error: 'maxs' was not declared in this scope
  maxs[root] = max(maxs[rt <<1], maxs[rt <<1 + 1]);
  ^
0_0_26111432_13196.cpp:42:24: error: 'rt' was not declared in this scope
  maxs[root] = max(maxs[rt <<1], maxs[rt <<1 + 1]);
                        ^
0_0_26111432_13196.cpp: In function 'void Build(int, int, int)':
0_0_26111432_13196.cpp:49:3: error: 'maxs' was not declared in this scope
   maxs[rt] = 0;
   ^
0_0_26111432_13196.cpp: In function 'void Update(int, int, int, int, int)':
0_0_26111432_13196.cpp:62:3: error: 'maxs' was not declared in this scope
   maxs[rt] = k;
   ^
0_0_26111432_13196.cpp: In function 'int QueryMax(int, int, int, int, int)':
0_0_26111432_13196.cpp:78:10: error: 'maxs' was not declared in this scope
   return maxs[rt];
          ^
0_0_26111432_13196.cpp: In function 'int main()':
0_0_26111432_13196.cpp:97:21: error: 'nod' was not declared in this scope
    scanf("%d%d%d", &nod[i].x, &nod[i].y, &nod[i].val);
                     ^
0_0_26111432_13196.cpp:98:8: error: 'nod' was not declared in this scope
   sort(nod + 1, nod + n + 1, cmp1);
        ^


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-13 14:46:20, Gzip enabled