dhritishman22's blog

By dhritishman22, history, 3 years ago, In English

Submission: 93000577 Problem: 1042C - Произведение массива Can someone help me out? This works fine on the sample cases but shows tle on test case 6.

Edit: TLE was due to vector erase function. It works fine when set is used instead of vector.

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

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

Auto comment: topic has been updated by dhritishman22 (previous revision, new revision, compare).

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

It worked fine when I used set instead of vector. TLE was due to vector erase function.