During summers BESCOM switches to the optimal power consumption technique wherein the transmission lines are placed...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
During summers BESCOM switches to the optimal power consumption technique wherein the transmission lines are placed at different locations in Bangalore. The power is supplied to houses from these transmission lines. usage of the power at homes there is a heavy load on these transformers. In this situation, BESCOM takes a decision to find the optimal way to reduce the load on the transformer's for each location in the city by placing NxN transformers in different wards. It so happens that due 3 to estr 193 Input format: The first line of the input consists of the number of cities and transformers present N. The next NxN lines are the values of the power units for each of the transformers. Sample Input 1: 4 82 83 69 92 77 37 49 92 11 69 5 86 89 98 23 Sample Output 1: 13 estree's 103382 The optimal power is calculated by first reducing the power by taking a minimum power unit value from the horizontally placed transformers followed by the vertically placed transformers in that ward. If any null power unit is available in the horizontal or vertical transformers then the power is supplied to these transformers excluding the others. This is followed in such a way that at least one or more than one null power units are available in the transmission lines. The power is supplied to the transformers to optimize the load. The remaining power units are re-routed to another city. Write a program to print the corresponding powerline to the respective ward through which the power is supplied to different homes. Input from STDIN (standard input) and Print to STDOUT (standard output) You should not write arbitrary strings while reading the input and while printing as these contribute to the standard output Constraints: 1) The placement of the transformers should be in an NxN form, 3 N 10. Previous Question 3318493 1033 Output format: The output format consists of the corresponding transformer for each city that is used to optimize the load. Print the transformer in the order of rows from 0 to n-1 restreet Next Question E6F8EL01260ES 10338493 During summers BESCOM switches to the optimal power consumption technique wherein the transmission lines are placed at different locations in Bangalore. The power is supplied to houses from these transmission lines. usage of the power at homes there is a heavy load on these transformers. In this situation, BESCOM takes a decision to find the optimal way to reduce the load on the transformer's for each location in the city by placing NxN transformers in different wards. It so happens that due 3 to estr 193 Input format: The first line of the input consists of the number of cities and transformers present N. The next NxN lines are the values of the power units for each of the transformers. Sample Input 1: 4 82 83 69 92 77 37 49 92 11 69 5 86 89 98 23 Sample Output 1: 13 estree's 103382 The optimal power is calculated by first reducing the power by taking a minimum power unit value from the horizontally placed transformers followed by the vertically placed transformers in that ward. If any null power unit is available in the horizontal or vertical transformers then the power is supplied to these transformers excluding the others. This is followed in such a way that at least one or more than one null power units are available in the transmission lines. The power is supplied to the transformers to optimize the load. The remaining power units are re-routed to another city. Write a program to print the corresponding powerline to the respective ward through which the power is supplied to different homes. Input from STDIN (standard input) and Print to STDOUT (standard output) You should not write arbitrary strings while reading the input and while printing as these contribute to the standard output Constraints: 1) The placement of the transformers should be in an NxN form, 3 N 10. Previous Question 3318493 1033 Output format: The output format consists of the corresponding transformer for each city that is used to optimize the load. Print the transformer in the order of rows from 0 to n-1 restreet Next Question E6F8EL01260ES 10338493
Expert Answer:
Answer rating: 100% (QA)
Heres a Python program that reads the input and calculates the correspondi... View the full answer
Related Book For
Accounting for Decision Making and Control
ISBN: 978-0078025747
8th edition
Authors: Jerold Zimmerman
Posted Date:
Students also viewed these programming questions
-
Blake maxed out the credit limit on his credit card, owing Visa $10,000. After losing his job and not making any payments on the credit card for over two years, Blake's mother paid off the debt on...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
In environmental studies, sex ratios are of great importance. Wolf society, packs, and ecology have been studied extensively at different locations in the U.S. and foreign countries. Sex ratios for...
-
Joe rents his condo for $1,500 per month. Total rental and personal use days for the current year was 210 days and 20 days, respectively. What are the tax consequences for Joe?
-
Locate the centroid yc for the struts cross-sectional area. Given: a = 40 mm b = 120 mm c = 60 mm
-
Accounting and financial reporting for governmental entities, including fund accounting, special funds, and government wide financial statements. Retrieve a recent Comprehensive Annual Financial...
-
For each of the following situations, calculate the degrees of freedom \((d f)\) and determine the critical values of \(t\). a. \(N=10 ; \mathrm{a}=.05 ; \mathrm{H}_{1}: \mu eq 5\) b. \(N=20 ;...
-
A pendulum is constructed by attaching a mass m to an extension less string of length l. the upper end of the string is connected to the uppermost point on a vertical disk of radius R (R R
-
Consider this week's Lecture # 1. The three most influential organizations shaping the global economy are World Bank, IMF, and World Trade Organization. - How do their roles differ? - How do wealthy...
-
To keep track of office furniture, computers, printers, and so on, the FOUNDIT Company uses the table structure shown in Table P6.5. a. Given that information, write the relational schema and draw...
-
Let f be a recursive function defined by: f(0) = 2 f(1) = 4 f(x) = (f(x-1) + 4) * f(x - 2) What is f(3)?
-
Table 1.13 shows index data on the overall CPI and three items included in the CPI. Explain why you either agree or disagree with these statements: a. Food cost more than housing in 2010. b. Housing...
-
Use the data in Exercise 8.28 to estimate a multiple regression model with systolic blood pressure as the dependent variable and diastolic blood pressure the explanatory variable, allowing the slope...
-
When OPECs manipulation of oil supplies in the 1970s created an energy crisis, U.S. speed limits were reduced in an effort to reduce fuel consumption. Use the data in Table 10.7 to estimate this...
-
Presented below is the current liabilities section of Micro Corporation (amounts in thousands). Instructions Answer the following questions. (a) What are the essential characteristics that make an...
-
Foster and Hahn (1995) have examined trading of air pollutant emission rights within the Los Angeles air basin in 1985-1991. They hypothesized that two factors would lead to high transaction costs:...
-
Earth 149.6 million km Sun You must consider the mass of the Earth as 4.846 x 1024 kg. This is just a hypothetical value. Find the magnitude of the force of gravity from the Sun experienced by the...
-
The following table shows the rates of total return in successive years from 2004 to 2008 for the Sprott Canadian Equity Fund and for the benchmark Toronto Stock Exchange S&P/TSX Composite Index. By...
-
Employee bonuses at American InterConnect (AI), a large communications firm, depend on meeting a number of targets, one of which is a revenue target. Some bonus is awarded to the group if it meets or...
-
Blue Sage Mountain produces hinged snowboards. The price charged affects the quantity sold. The following equation captures the relation between price and quantity each month: Selling price = $ 530 -...
-
Transmation, with sales of over $ 2.2 billion, builds and markets several of the worlds leading brands of construction and agricultural equipment. Transmation has three operating divisions that are...
-
At what height above the surface of Pluto is the acceleration due to gravity half its surface value?
-
How far above Farth's surface must a \(10,000-\mathrm{kg}\) boulder be moved to increase the mass of the Earthboulder system by \(2.50 \mathrm{mg}\) ? Assume the same ratio of energy change to mass...
-
Show that for small displacements the restoring force exerted on part 2 of the displaced string in Figure 15.14 is linearly proportional to the displacement of that part from its equilibrium...
Study smarter with the SolutionInn App