79632890

Date: 2025-05-22 00:11:44
Score: 3.5
Natty:
Report link

I do not have enough points to comment, so writing this answer:

Is this a kind of homework assignment?

According to your output, it looks like your code assigns/selects feasible combinations only once.

For example, the combination 1x 60’ + 22x 70’ is used in product #28, but could be applied more often as you mentioned.

Another keyword you may want to look up: backtracking

… and yes, there is a feasible solution with 60 products.

Reasons:
  • Blacklisted phrase (1): to comment
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anonymous