I am trying to solve this problem, but I can't get AC.
I am using dynamic programming.
If I can get sentence more than 1 way I print "ambiguous". if I can get sentence only one way I print words.
I can't understand where I am mistaken, seems that my program works correctly.
Help Please.
Code: Select all
Deleted