CSES DP SECTION — Book Shop

Правка en1, от AC_AC, 2020-12-30 07:00:57

I was solving Book Shop of CSES DP section.

  • I am getting TLE even after multiple attempts, Can you tell me how to optimize my TOP-DOWN approach.
  • I have also replace 2-d array with 2-d vector but that is also getting TLE.
my code

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский AC_AC 2020-12-30 07:10:17 2
en2 Английский AC_AC 2020-12-30 07:09:24 93
en1 Английский AC_AC 2020-12-30 07:00:57 991 Initial revision (published)