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_30956868_11150.c:6:5: error: unknown type name 'BiTNode'
     BiTNode *lchild;
     ^
0_0_30956868_11150.c:7:5: error: unknown type name 'BiTNode'
     BiTNode *rchild;
     ^
0_0_30956868_11150.c:9:9: error: unknown type name 'BiTNode'
 void se(BiTNode *T)
         ^
0_0_30956868_11150.c:21:1: error: unknown type name 'BiTNode'
 BiTNode *chr(int *a,int *b,int n)
 ^
0_0_30956868_11150.c: In function 'chr':
0_0_30956868_11150.c:23:2: error: unknown type name 'BiTNode'
  BiTNode *f;
  ^
0_0_30956868_11150.c:29:7: error: 'BiTNode' undeclared (first use in this function)
    f=(BiTNode* )malloc(sizeof(BiTNode));
       ^
0_0_30956868_11150.c:29:7: note: each undeclared identifier is reported only once for each function it appears in
0_0_30956868_11150.c:29:16: error: expected expression before ')' token
    f=(BiTNode* )malloc(sizeof(BiTNode));
                ^
0_0_30956868_11150.c:30:5: error: request for member 'data' in something not a structure or union
    f->data=b[i];
     ^
0_0_30956868_11150.c:31:5: error: request for member 'lchild' in something not a structure or union
    f->lchild=chr(a+1,b,i);
     ^
0_0_30956868_11150.c:32:5: error: request for member 'rchild' in something not a structure or union
    f->rchild=chr(a+i+1,b+i+1,n-i-1);
     ^


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-07-07 09:24:45, Gzip enabled