Package not available for desirable amount of sweets
for ( int k = 1 ; k <= n ; ++ k ) dp [ i , k , 0 ] = - 1 ; } for ( int i = 0 ; i <= m ; ++ i ) { for ( int j = 1 ; j <= n ; ++ j ) { for ( int k = 1 ; k <= n ; ++ k ) { dp [ i , j , k ] = - 1 ;