decoder__'s blog

By decoder__, history, 3 years ago, In English

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

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

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

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