Блог пользователя Eric12

Автор Eric12, история, 20 месяцев назад, По-английски

I submitted this to 527C: h[submission:167938194]

I'm sure that it's O(nlogn) ($$$n \leq 2 \times 10^5$$$), and I TLEed on 7.

Please help me!

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится

»
20 месяцев назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

I think your solution took more time than what was allowed for the problem. That is why it is showing TLE.

»
20 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

It's not a TLE.

Your code return Exit Code 134. You have some troubles with pointers on this test.

10 10 10
V 6
H 8
V 4
V 8
H 2
H 5 <- Your code breaks here.
V 9
H 7 
H 3
V 7

Try to debug it and check what does your multisets returns to you.