Copy the code pack.h from line 8 to 86 to Label 1
This code solves a 01pack problem as main()
pack_01();
This code solves a 01pack problem(restrict) as main()
pack_01_restrict();
Diffrence between normal and restrict
normal : sum(items) <= max_weight
restrict : sum(items) == max_weight
This code solves an infinite pack problem as main()
pack_infinity();
This code solves a multi-item pack problem as main()
pack_complex();