Segmentation fault

https://ide.codingblocks.com/s/256513. Please check

 memset(dp,-1, sizeof(dp));

yeh glt likha h
like wrong syntax


refer to this

yes it works now. Thankyou

1 Like