HELP please

Правка en1, от ultimatechodu.v1, 2025-03-20 14:03:47

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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ultimatechodu.v1 2025-03-20 14:03:47 388 Initial revision (published)