Блог пользователя ultimatechodu.v1

Автор ultimatechodu.v1, история, 29 часов назад, По-английски

Why am I getting this WA on TC2 in this 311446111 in problem 1922D - Berserk Monsters. I am simulating the number of monsters remaining after round 1, then I'm grouping the consecutive monsters together. Then I'm running a loop and taking the last monster from left group and first monster from right group and checking if it can be killed. What's wrong with this approach?

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