Please read the new rule regarding the restriction on the use of AI tools. ×

Help! set stl

Revision en1, by slow_coder4, 2017-07-05 21:38:52

How can find the value from set given an index. suppose our set is st. st.insert(2); st.insert(6); st.insert(1);

Now i want to know the value of index 2 from set. Is there any logarithmic away? Thanks advance .

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English slow_coder4 2017-07-05 21:38:52 238 Initial revision (published)