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_9173570_24393.cpp:26: error: ISO C++ forbids declaration of `update' with no type
0_0_9173570_24393.cpp:105: error: `Ans' is not a template
0_0_9173570_24393.cpp: In member function `int SBT::malloc(int, int, int)':
0_0_9173570_24393.cpp:90: error: `x' undeclared (first use this function)
0_0_9173570_24393.cpp:90: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_9173570_24393.cpp: In member function `void SBT::insert(int&, int, int, int)':
0_0_9173570_24393.cpp:102: error: expected `)' before ';' token
0_0_9173570_24393.cpp: In member function `Ans SBT::query(int, int)':
0_0_9173570_24393.cpp:108: error: no matching function for call to `Ans::update(Ans)'
0_0_9173570_24393.cpp:26: note: candidates are: int Ans::update(Ans&)
0_0_9173570_24393.cpp:109: error: `i' undeclared (first use this function)
0_0_9173570_24393.cpp:109: error: no matching function for call to `Ans::update(Ans)'
0_0_9173570_24393.cpp:26: note: candidates are: int Ans::update(Ans&)
0_0_9173570_24393.cpp:110: error: no matching function for call to `Ans::update(Ans)'
0_0_9173570_24393.cpp:26: note: candidates are: int Ans::update(Ans&)
0_0_9173570_24393.cpp: In member function `Ans SGT::query(int, int, int)':
0_0_9173570_24393.cpp:157: error: request for member `query' in `((SGT*)this)->SGT::tr', which is of non-class type `SBT[200020]'
0_0_9173570_24393.cpp:157: error: request for member `rt' in `((SGT*)this)->SGT::tr', which is of non-class type `SBT[200020]'
0_0_9173570_24393.cpp:161: error: `i' undeclared (first use this function)
0_0_9173570_24393.cpp: In function `int main()':
0_0_9173570_24393.cpp:201: error: `n' undeclared (first use this function)
0_0_9173570_24393.cpp:219: error: no matching function for call to `SGT::insert(int&, int&, int, int&)'
0_0_9173570_24393.cpp:143: note: candidates are: void SGT::insert(int, int, int, int, int)
0_0_9173570_24393.cpp:222: error: request for member `cnt' in `cnt', which is of non-class type `int[1000100]'


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-22 17:56:04, Gzip enabled