Need help with a problem

Правка en1, от explodingfrost, 2022-08-03 14:26:09

I was solving problem H of a div 4 round. The first solution I wrote got MLE so in order to save some memory I decided to use arrays instead of lists, this got me a wrong answer in test 4 (solution), can anyone explain why did that happen. Looks like the program stopped executing after the first test case.

Теги python, help, pypy

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский explodingfrost 2022-08-03 14:26:09 500 Initial revision (published)