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_13279248_30109.c:7:21: error: expected ';', ',' or ')' before '&' token
 void creatTree(Node &H,int val){
                     ^
0_0_13279248_30109.c:17:1: error: unknown type name 'bool'
 bool eqTree(Node H,Node T){
 ^
0_0_13279248_30109.c: In function 'eqTree':
0_0_13279248_30109.c:19:31: error: 'false' undeclared (first use in this function)
   if(H->data!=T->data) return false;
                               ^
0_0_13279248_30109.c:19:31: note: each undeclared identifier is reported only once for each function it appears in
0_0_13279248_30109.c:20:70: error: 'true' undeclared (first use in this function)
   else if(eqTree(H->left,T->left)&&eqTree(H->right,T->right)) return true;
                                                                      ^


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-02 04:35:30, Gzip enabled