讲解:Algorithms、PYTHON/JAVA、Java/c++Database|SQL

Introduction to Algorithms Assignment3Due Date: 2019/01/04 12:00:59Resource Allocation Problem Given m resources and n projects, a profit( i, j) will be obtained if j, resources are allocated to project i. Find an allocation of resources to maximize the total profit. Please use dynamic programming approach to design an algorithm andimplement the program to solve the resource allocation problem.e.g. You have 7 days to study four courses. Each course should study at least 1day. How to plan your schedule to get the highest score?Days to study course1 2 3 41 3 4 3 62 6 6 4 73 7 9 8 94 8 11 9 10Answer: max score isAlgorithms留学生作业代做、代写PYTHON/JAVA编程作业、代做Java/c++实验作业 代做Databas 24.P.S. If you study course 1 two days, you will get 6 points.Input:3 4 3 66 6 4 77 9 8 98 11 9 10(profit table)7(resource)3 4 36 6 47 9 88 11 96Output:24(6+9+3+6)18(6+9+3)Rule of programing and the dataset:(1) Resources is larger than number of plans (Because one plan need to chooseonce)(2) One profit table may contain more than one allocation problem(3) All element type is positive Integer.(4) Cannot use not standard header file(e.g ) or you should attachon your zip(5) Input and output txt file automatically and the relative path is beside themain program转自:http://ass.3daixie.com/2019011359683548.html

你可能感兴趣的:(讲解:Algorithms、PYTHON/JAVA、Java/c++Database|SQL)