Need help with a problem

Revision en1, by 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.

Tags python, help, pypy

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English explodingfrost 2022-08-03 14:26:09 500 Initial revision (published)