subject
Engineering, 01.10.2019 17:20 amayaiscool3886

You are hired to the rebels fight the evil empire in star wars the rebels have n space ships and each space ship i (1 ≤ i ≤ n) has a certain power pi . moreover, the empire has m bases where each base j (1 ≤ j ≤ m) has a defensive power di and gold gi . you know that each space ship can attack every base with defensive power strictly smaller than the ship’s own power and collect its golds. the rebels need to know that, for each of their space ships, what is the maximum amount of gold this spaceship can collect. design an algorithm with running time o((n+m)·log m) for this task.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 18:20
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
question
Engineering, 04.07.2019 18:20
Air is compressed isentropically from an initial state of 300 k and 101 kpa to a final temperature of 1000 k. determine the final pressure using the following approaches: (a) approximate analysis (using properties at the average temperature) (b) exact analysis
Answers: 1
You know the right answer?
You are hired to the rebels fight the evil empire in star wars the rebels have n space ships and e...
Questions
question
Biology, 17.09.2019 16:50
question
Social Studies, 17.09.2019 16:50
question
History, 17.09.2019 16:50