0_0_37801186_24085.cpp:80:19: error: 'split' function uses 'auto' type specifier without trailing return type
auto split(int pos)
^
0_0_37801186_24085.cpp:80:19: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37801186_24085.cpp: In function 'auto split(int)':
0_0_37801186_24085.cpp:85:9: error: expected unqualified-id before '[' token
auto[l, r, id]=*it;
^
0_0_37801186_24085.cpp:87:19: error: 'l' was not declared in this scope
st.insert(odt(l, pos - 1, id));
^
0_0_37801186_24085.cpp:87:31: error: 'id' was not declared in this scope
st.insert(odt(l, pos - 1, id));
^
0_0_37801186_24085.cpp:88:31: error: 'r' was not declared in this scope
return st.insert(odt(pos, r, id)).first;
^
|