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]'
|