Mixtures- Spoj- DP

Hello sir/ma’am, i wrote the code for this problem but some error is coming, i am unable to debug it. Please help me with this. Sharing the code link:: https://ide.codingblocks.com/s/200087

@priyanshi.agarwal3405,

  • Line 20: for(int k=i;k<=j;k++)
  • Correction: for(int k=i;k<j;k++)

okay, got it…thank you sir !!