Trouble with SPOJ MIXTURES

Revision en1, by asipu_pawan, 2019-04-16 13:47:21

I tried to solve spoj question MIXTURES using Matrix chain multiplication. But, continuously getting WA. And even tried the available test cases. my WA solution is provided here

Any help will be appreciable. Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English asipu_pawan 2019-04-16 13:47:21 394 Initial revision (published)