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_17400249_17465.cpp:2:10: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
          ^
0_0_17400249_17465.cpp:2:20: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                    ^
0_0_17400249_17465.cpp:2:30: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                              ^
0_0_17400249_17465.cpp:2:40: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                                        ^
0_0_17400249_17465.cpp:2:51: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                                                   ^
0_0_17400249_17465.cpp:2:61: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                                                             ^
0_0_17400249_17465.cpp:2:70: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                                                                      ^
0_0_17400249_17465.cpp:2:80: error: 'maxn' was not declared in this scope
 int Size[maxn],Son[maxn],dep[maxn],Pos[maxn],fPos[maxn],Top[maxn],fa[maxn],out[maxn];
                                                                                ^
0_0_17400249_17465.cpp:3:11: error: 'maxn' was not declared in this scope
 int first[maxn],nxt[maxm],vv[maxm];
           ^
0_0_17400249_17465.cpp:3:21: error: 'maxm' was not declared in this scope
 int first[maxn],nxt[maxm],vv[maxm];
                     ^
0_0_17400249_17465.cpp:3:30: error: 'maxm' was not declared in this scope
 int first[maxn],nxt[maxm],vv[maxm];
                              ^
0_0_17400249_17465.cpp:14:1: error: 'vector' does not name a type
 vector <Edge> ans;
 ^
0_0_17400249_17465.cpp:15:1: error: 'vector' does not name a type
 vector <int> fuck[maxn];
 ^
0_0_17400249_17465.cpp: In function 'void init(int)':
0_0_17400249_17465.cpp:19:9: error: 'first' was not declared in this scope
  memset(first,-1,sizeof(first));
         ^
0_0_17400249_17465.cpp:19:31: error: 'memset' was not declared in this scope
  memset(first,-1,sizeof(first));
                               ^
0_0_17400249_17465.cpp:20:9: error: 'Son' was not declared in this scope
  memset(Son,-1,sizeof(Son));
         ^
0_0_17400249_17465.cpp:21:2: error: 'ans' was not declared in this scope
  ans.clear();
  ^
0_0_17400249_17465.cpp:23:3: error: 'fuck' was not declared in this scope
   fuck[i].clear();
   ^
0_0_17400249_17465.cpp: In function 'void addedge(int, int)':
0_0_17400249_17465.cpp:27:2: error: 'vv' was not declared in this scope
  vv[e] = v; nxt[e] = first[u]; first[u] = e++;
  ^
0_0_17400249_17465.cpp:27:13: error: 'nxt' was not declared in this scope
  vv[e] = v; nxt[e] = first[u]; first[u] = e++;
             ^
0_0_17400249_17465.cpp:27:22: error: 'first' was not declared in this scope
  vv[e] = v; nxt[e] = first[u]; first[u] = e++;
                      ^
0_0_17400249_17465.cpp: At global scope:
0_0_17400249_17465.cpp:33:5: error: 'maxn' was not declared in this scope
 }st[maxn<<2];
     ^
0_0_17400249_17465.cpp: In function 'void PushUp(int)':
0_0_17400249_17465.cpp:37:5: error: 'st' was not declared in this scope
  if(st[id<<1|1].key > st[id<<1].key)
     ^
0_0_17400249_17465.cpp:40:2: error: 'st' was not declared in this scope
  st[id].key = max(st[id<<1].key,st[id%3
  ^
0_0_17400249_17465.cpp:40:39: error: expected ']' at end of input
  st[id].key = max(st[id<<1].key,st[id%3
                                       ^
0_0_17400249_17465.cpp:40:39: error: expected '}' at end of input


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-12-10 15:13:40, Gzip enabled