0_0_29176744_5599.cpp:237:34: error: 'get' function uses 'auto' type specifier without trailing return type
auto get(int b,int e,F f,G g,H h){
^
0_0_29176744_5599.cpp:237:34: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_29176744_5599.cpp: In function 'void S()':
0_0_29176744_5599.cpp:296:85: error: invalid use of 'auto'
print(seg.get(l,r,&Node::getm,(const int&(*)(const int&,const int&))max<int>,-inf));
^
0_0_29176744_5599.cpp:298:63: error: invalid use of 'auto'
print(seg.get(l,r,&Node::gets,[&](ll x,ll y){return x+y;},0));
^
|