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?
-
Why is evaporation a cooling process?
-
Stanmore Stationery is preparing a quarterly budget covering the 3 months ending 30 June 2020. The information available for the budget is as follows: 1. Cash sales represent 30% of all monthly...
-
1.15 Financial Globalization. Explain the twin agency problems. How do the twin agency problems limit financial globalization?
-
WORK SHEET, ADJUSTING ENTRIES, AND FINANCIAL STATEMENTS Herrera Company had the following trial balance columns on its work sheet: Data for adjusting the accounts are as follows: (a) Factory overhead...
-
Downing's Boats has agreed to be acquired by Schooners, Inc. for $325,000 worth of Schooners stock. Downing's currently has 12,500 shares of stock outstanding at a price of $23.80 a share. Schooners...
-
A skydiver weighs 125 pounds, and her parachute and equipment combined weigh another 35 pounds. After exiting from a plane at an altitude of 15,000 feet, she waits 15 seconds and opens her parachute....
-
Theme: Operation management Reference: Cirque du Solei Questions: Answer questions using the video Cirque du Solei What does the company need to do to ensure a good customer experience? (Come up with...
-
Dark leafy greens, red bell peppers, broccoli, and carrots are examples of _ _ _ _ _ _ _ _ _ _ , unlike chips, buns, and donuts. a . calorically high foods b . nutrient - dense foods c . ethnic foods...
-
Explain what is meant by the phrase "Best practice or best fit?" What do you regard as the most pressing questions HRM should tackle? Why do you see them as most urgent? why "Context" is important.
-
You are holding a bond with a 6 year Duration. You expect rates to move from 2% to 3.5% (increase). If the Bond's price is currently $900, what would be the new price (think about the direction of...
-
Research the selected forum topic: Internationally integrated capital markets Compile response to the forum topic. Critical exchange forum topic response contributions will be critically graded on...
-
Evaluate lim 3 cot-1 X 3 +1 Enter an exact answer. 2 6 3 Provide your answer below:
-
The Irish built the canals but innovative investor Ogden invested in this new technology that triggered an economic and transportation revolution in Chicago. Question 8 options: a ) Airlines b )...
-
To balance the chemical equation SiH3 + O2 SiO2 + HO, you could introduce coefficients a, b, c, d and write aSiH3 + bO2 cSiO + dHO then write linear equations for each element. The equation for Si...
-
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...
-
On1 January 2006, F Limited commenced business selling goods on hire purchase. Under the _ terms of the agreements, an initial deposit of 20 per cent is payable on delivery, followed by four equal...
-
The financial statements of J. Foot Ltd are made up to 31 March in each year. Work on Contract 349 started on 1 July 2006 and completed on 31 January 2008. The total contract price was 580,000, but a...
-
Dundas Limited purchased a machine under a hire purchase agreement on 1 January 2008. The agreement provided for an immediate payment of 2,000, followed by five equal instalments of 3,056, each...
Study smarter with the SolutionInn App