Help needed in DP problem

Правка en2, от hemant_thakur, 2022-08-01 09:34:17

Can someone please help, what am I doing wrong ? Or on what test cases my solution is failing. It passes 12/19 test cases.

Here is the atcoder question link : LINK

Here is my solution:

Code

Thanks in advance :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский hemant_thakur 2022-08-01 09:34:17 168 Tiny change: 'oiler>\n\n\n\n' -> 'oiler>\n\nThanks in advance :)\n\n\n\n' (published)
en1 Английский hemant_thakur 2022-08-01 09:28:47 949 Initial revision (saved to drafts)