Introduction - If you have any usage issues, please Google them yourself
The total number of funds are known to a (million), project the number of n, as well as the profits of the value of g (i, j) (expressed j million investment project i receive the profits, of which only take an integer and j), a trial of dynamic programming how to allocate capital to find ways to get the most profitable (the allocation of funds of thousands of units).