2033D alternative method failed

Правка en1, от yshen94, 2024-10-25 16:50:45

For submission #287793085, I used dp and matrix to solve the problem. it seems that the memory limit is exceed. I know that a lot of people solve the problem using a map, but I am still curious whether using dp and matrix could be a successful solution with modifications in some way.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский yshen94 2024-10-25 16:50:45 322 Initial revision (published)