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

Автор Arthas, история, 14 месяцев назад, По-русски

Hey, i was trying to solve this problem 1644D - Cross Coloring recently. And, i'm somehow getting TLE, even though it's O(Q), there are no other time consuming data structures, like sets, maps, etc. And others' solutions are pretty similar, the idea is right, but mine is getting TLE. Any advice or help would be lot appreciated :)

Here is my submission: 222648815

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