decoder__'s blog

By decoder__, history, 5 years ago, In English

Can anyone help me debug why using set gives WA while using vector doesn't ? Here is my Submission: https://mirror.codeforces.com/contest/1107/submission/102257173 Here is the problem: https://mirror.codeforces.com/contest/1107/problem/C

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

| Write comment?
»
5 years ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Your set will erase the extra occurrence of an element $$$e \lt vec[j]$$$.