Help with 125 B (Div. 1)

Правка en1, от web_developer, 2020-10-23 14:51:29

Hello Codeforces, I need help with this problem

My sol. -> I've written recursive solution and it gives TLE on tc 20

Now, I want to optimize this... How can I? Plz help.

Thanks!!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский web_developer 2020-10-23 14:51:29 374 Initial revision (published)