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_31064456_28927.cpp: In function 'int main()':
0_0_31064456_28927.cpp:158:21: error: 'i' was not declared in this scope
         for(int j=0;i<m/2-1;j++)
                     ^
0_0_31064456_28927.cpp:158:23: error: 'm' was not declared in this scope
         for(int j=0;i<m/2-1;j++)
                       ^
0_0_31064456_28927.cpp:160:41: error: invalid conversion from 'BiTree {aka BiTNode*}' to 'ElemType {aka int}' [-fpermissive]
             DeleteNode(tree,findmax(tree));
                                         ^
0_0_31064456_28927.cpp:80:6: note: initializing argument 2 of 'void DeleteNode(BiTNode*&, ElemType)'
 void DeleteNode(BiTree &tree, ElemType key)  //使用引用
      ^


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-08 04:03:55, Gzip enabled