subject

Yuckdonald’(qvh). the n possible locations are along a straight line, and the distances of these locations from the start of qvh are, in miles and in increasing order, m1, m2, . . , mn. the constraints are as follows:
• at each location, yuckdonald’s may open at most one restaurant. the expected profit from opening a restaurant at location i is pi, where pi > 0 and i = 1,.
• any two restaurants should be at least k miles apart, where k is a positive integer.
give an efficient algorithm to compute the maximum expected total profit subject to the given constraints.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
If the average computer chip had 1,200 transistors per square inch in 1970, approximately how many transistors per square inch would one have in 1976? use moore's law to calculate your answer
Answers: 1
You know the right answer?
Yuckdonald’(qvh). the n possible locations are along a straight line, and the distances of these loc...
Questions
question
History, 09.10.2019 16:50