Sir, why is 0 the answer, ret is a pair of iterator and bool.
So it must be accessed like ret.first = st.insert(10)
rather than ret = st.insert(10)
Sir, why is 0 the answer, ret is a pair of iterator and bool.
So it must be accessed like ret.first = st.insert(10)
rather than ret = st.insert(10)