結果 : resource allocation problem in dynamic programming