12
Metro Land is a country located on a 2D
plane. They are having a summer festival for
everyone in the country and would like to
minimize the
overall cost of travel for their
citizens. Costs of travel are calculated as
follows:
2
#
19
0
3
det
• A city is located at coordinates (x, y).
• The festival is located at coordinates (a, b).
Cost of travel from a city to the festival = |x-
al + ly-bl per person.
23
24 > ir
The festival can be held at any location in
Metro Land. Find the optimal location for
the festival, defined as the location with the
minimal total travel cost assuming all people
attend. Determine the total cost of travel for
all citizens to go to the festival at that
location.
Answers
Answered by
2
Answer:
है और इस पर एक बात समझ में नहीं आती थी कि मैं अपने नए ब्लॉगर को भी बधाई के पात्र हैं और न जाने कितने ही नहीं है और इस पर एक बात समझ में नहीं आती थी कि मैं अपने नए ब्लॉगर को भी बधाई के पात्र हैं और न जाने कितने ही नहीं है और इस पर एक
Similar questions