dg25's blog

By dg25, history, 3 months ago, In English

Is there any massive time complexity difference between erasing a value from the set using -- set_name.erase(iterator) and set_name.erase(set_name.find(iterator)) when we are sure that iterator refers to a value present in the set..i am asking this because this shows time limit exceeded but this one does not shows any time limit exceeded ...please help

Read more »

 
 
 
 
  • Vote: I like it
  • +5
  • Vote: I do not like it

By dg25, history, 4 months ago, In English

can anyone tell me why does it show that reference is ambiguous on custom invocation of codeforces although it works fine on sublime and when i just change the name of array it works fine .. ... code link...

...thank you

Read more »

 
 
 
 
  • Vote: I like it
  • +4
  • Vote: I do not like it