Problem in code

i have tried (it-l.begin()) to get the index but it doesn’t work.

hello @sakshi0309
pls share ur code with me.
follow this ->
go to this link -> https://ide.codingblocks.com/
paste ur code in the editor, press ctrl + s and then save
a url will be generated in ur search bar share that url with me

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.