Simple DP+Game Theory problem, but something Fishy !!

Revision en1, by prem.ktiw, 2017-04-15 13:42:41

Refering to following simple problem, which consumed my more than 2Hrs. of time.
http://www.spoj.com/problems/ADAGAME/
and the simple bottom-up solution with comments.
http://ideone.com/7vAGAJ
but something is fishy there !!
Help me find out. Thanks !!

Tags dp, game theory

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English prem.ktiw 2017-04-15 13:42:41 338 Initial revision (published)