0_0_30448886_19252.cpp: In member function 'void segment_tree::pushdown(int)':
0_0_30448886_19252.cpp:27:17: error: 'struct segment_tree::segment_node' has no member named 'udpate'
ndl.udpate(nd.flag);
^
0_0_30448886_19252.cpp: In member function 'void segment_tree::maketree(int, int, int)':
0_0_30448886_19252.cpp:38:19: error: expected primary-expression before ',' token
nd = {l,r,,0,0,0,0};
^
0_0_30448886_19252.cpp:38:12: error: no match for 'operator=' (operand types are 'segment_tree::segment_node' and '<brace-enclosed initializer list>')
nd = {l,r,,0,0,0,0};
^
0_0_30448886_19252.cpp:38:12: note: candidates are:
0_0_30448886_19252.cpp:17:12: note: segment_tree::segment_node& segment_tree::segment_node::operator=(const segment_tree::segment_node&)
struct segment_node{
^
0_0_30448886_19252.cpp:17:12: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const segment_tree::segment_node&'
0_0_30448886_19252.cpp:17:12: note: segment_tree::segment_node& segment_tree::segment_node::operator=(segment_tree::segment_node&&)
0_0_30448886_19252.cpp:17:12: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'segment_tree::segment_node&&'
0_0_30448886_19252.cpp: In function 'int main()':
0_0_30448886_19252.cpp:116:14: error: 'class std::vector<int>' has no member named 'psuh_back'
e[y].psuh_back(x);
^
0_0_30448886_19252.cpp:124:30: error: 'queery' was not declared in this scope
else cout<<queery(u,v)<<'\n';
^
|