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_13855341_7437.cpp:47:19: error: expected unqualified-id before 'else'
                 } else if (v->ch[!o]->sz <= u->ch[!o]->sz) {
                   ^
0_0_13855341_7437.cpp:49:19: error: expected unqualified-id before 'else'
                 } else {
                   ^
0_0_13855341_7437.cpp:52:26: error: 'u' has not been declared
                 maintain(u->ch[0], 0); maintain(u->ch[1], 1);
                          ^
0_0_13855341_7437.cpp:52:27: error: expected ',' or '...' before '->' token
                 maintain(u->ch[0], 0); maintain(u->ch[1], 1);
                           ^
0_0_13855341_7437.cpp:52:49: error: 'u' has not been declared
                 maintain(u->ch[0], 0); maintain(u->ch[1], 1);
                                                 ^
0_0_13855341_7437.cpp:52:50: error: expected ',' or '...' before '->' token
                 maintain(u->ch[0], 0); maintain(u->ch[1], 1);
                                                  ^
0_0_13855341_7437.cpp:52:40: error: 'int SBT::maintain(int)' cannot be overloaded
                 maintain(u->ch[0], 0); maintain(u->ch[1], 1);
                                        ^
0_0_13855341_7437.cpp:52:17: error: with 'int SBT::maintain(int)'
                 maintain(u->ch[0], 0); maintain(u->ch[1], 1);
                 ^
0_0_13855341_7437.cpp:53:26: error: 'u' has not been declared
                 maintain(u, 0); maintain(u, 1);
                          ^
0_0_13855341_7437.cpp:53:29: error: expected identifier before numeric constant
                 maintain(u, 0); maintain(u, 1);
                             ^
0_0_13855341_7437.cpp:53:29: error: expected ',' or '...' before numeric constant
0_0_13855341_7437.cpp:53:42: error: 'u' has not been declared
                 maintain(u, 0); maintain(u, 1);
                                          ^
0_0_13855341_7437.cpp:53:45: error: expected identifier before numeric constant
                 maintain(u, 0); maintain(u, 1);
                                             ^
0_0_13855341_7437.cpp:53:45: error: expected ',' or '...' before numeric constant
0_0_13855341_7437.cpp:53:33: error: 'int SBT::maintain(int, int)' cannot be overloaded
                 maintain(u, 0); maintain(u, 1);
                                 ^
0_0_13855341_7437.cpp:53:17: error: with 'int SBT::maintain(int, int)'
                 maintain(u, 0); maintain(u, 1);
                 ^
0_0_13855341_7437.cpp:54:9: error: expected ';' after class definition
         }
         ^
0_0_13855341_7437.cpp:56:21: error: variable or field 'insert' declared void
         void insert(Node* &u, int v)
                     ^
0_0_13855341_7437.cpp:56:21: error: 'Node' was not declared in this scope
0_0_13855341_7437.cpp:56:28: error: 'u' was not declared in this scope
         void insert(Node* &u, int v)
                            ^
0_0_13855341_7437.cpp:56:31: error: expected primary-expression before 'int'
         void insert(Node* &u, int v)
                               ^


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-29 09:07:50, Gzip enabled