Help Required in SPOJ PT07F (A Short Vacation In Disneyland)

Правка en2, от FineLine, 2016-07-04 19:00:41

HI Everyone out there,Hope this post find you in best of your spirits.Yesterday I was attempting this SPOJ Problem here.I got the idea instantly that the state of dp will be defined as dp[node][flag] where flag denotes whether ticket has to be bought for this node or not.But I am having a hard time implementing it... Can somebody please help me in its implementation.Thanks and Have a nice day.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский FineLine 2016-07-04 19:00:41 39
en1 Английский FineLine 2016-07-03 21:13:30 466 Initial revision (published)