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_25520937_14096.cpp: In function 'void Treaval(int)':
0_0_25520937_14096.cpp:28:111: error: 'size' was not declared in this scope
         printf("结点%2d:左儿子 %2d 右儿子 %2d 父结点 %2d size = %2d ,key = %2d \n",x,ch[x][0],ch[x][1],pre[x],size[x],key[x]);
                                                                                                               ^
0_0_25520937_14096.cpp: In function 'void Push_Up(int)':
0_0_25520937_14096.cpp:62:5: error: 'size' was not declared in this scope
     size[r]=size[ch[r][0]]+size[ch[r][1]]+1;
     ^
0_0_25520937_14096.cpp: In function 'void Init()':
0_0_25520937_14096.cpp:108:49: error: 'size' was not declared in this scope
     ch[root][0]=ch[root][1]=pre[root]=rev[root]=size[root]=0;
                                                 ^
0_0_25520937_14096.cpp:116:11: error: 'Key_value' was not declared in this scope
     Bulid(Key_value,1,n,ch[root][1]);
           ^
0_0_25520937_14096.cpp: In function 'int Get_Kth(int, int)':
0_0_25520937_14096.cpp:203:11: error: 'size' was not declared in this scope
     int t=size[ch[r][0]];
           ^
0_0_25520937_14096.cpp: In function 'void Reversal(int, int)':
0_0_25520937_14096.cpp:266:9: error: 'Key_value' was not declared in this scope
     rev[Key_value]^=1;
         ^
0_0_25520937_14096.cpp: In function 'void Cut(int, int, int)':
0_0_25520937_14096.cpp:281:13: error: 'Key_value' was not declared in this scope
     int tmp=Key_value;
             ^


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-10-01 23:39:23, Gzip enabled