0_0_32872650_31930.cpp:32:27: error: 'lower_bound' function uses 'auto' type specifier without trailing return type
auto lower_bound(vec v) { w[0].x = v.x; w[0].y = v.y; return s.lower_bound(0); }
^
0_0_32872650_31930.cpp:32:27: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_32872650_31930.cpp: In instantiation of 'll dyn_convex_hull_half<pr>::crxmax(vec) [with pr = std::less<vec>; ll = long long int]':
0_0_32872650_31930.cpp:73:32: required from here
0_0_32872650_31930.cpp:59:36: error: invalid use of 'auto'
return v ^ w[*lower_bound(v)];
^
0_0_32872650_31930.cpp: In instantiation of 'll dyn_convex_hull_half<pr>::crxmax(vec) [with pr = std::greater<vec>; ll = long long int]':
0_0_32872650_31930.cpp:73:47: required from here
0_0_32872650_31930.cpp:59:36: error: invalid use of 'auto'
0_0_32872650_31930.cpp: In instantiation of 'int dyn_convex_hull_half<pr>::get_pos(vec, int&, int&) [with pr = std::less<vec>]':
0_0_32872650_31930.cpp:47:30: required from 'bool dyn_convex_hull_half<pr>::insert(vec) [with pr = std::less<vec>]'
0_0_32872650_31930.cpp:70:48: required from here
0_0_32872650_31930.cpp:37:32: error: invalid use of 'auto'
auto it = lower_bound(v);
^
0_0_32872650_31930.cpp: In instantiation of 'int dyn_convex_hull_half<pr>::get_pos(vec, int&, int&) [with pr = std::greater<vec>]':
0_0_32872650_31930.cpp:47:30: required from 'bool dyn_convex_hull_half<pr>::insert(vec) [with pr = std::greater<vec>]'
0_0_32872650_31930.cpp:70:68: required from here
0_0_32872650_31930.cpp:37:32: error: invalid use of 'auto'
|