• I recognized dynamic programming...

Question related to mission Loading Cargo

 

I recognized dynamic programming can't be applied to this problem. Exhaustion works. Any good idea?

12