Environmental Sciences, asked by nirajkumargupta316, 2 months ago

Chadsansolve Bachhendiri Pal.
1) Rainwater collected in
2) The nen all in water but the
empty plastic bottle Suin water
in water easily
4) 1996 is the first Indian woman to
reach Mount Everest and create history,
is the festival related to moon
Section: B
IV. Answer the following​

Answers

Answered by milirawka06
0

Explanation:

Once the water's done falling, each position will fill to a level equal to the smaller of the highest tower to the left and the highest tower to the right.

Find, by a rightward scan, the highest tower to the left of each position. Then find, by a leftward scan, the highest tower to the right of each position. Then take the minimum at each position and add them all up.

Something like this ought to work:

int tow[N]; // nonnegative tower heights

int hl[N] = {0}, hr[N] = {0}; // highest-left and highest-right

for (int i = 0; i < n; i++) hl[i] = max(tow[i], (i!=0)?hl[i-1]:0);

for (int i = n-1; i >= 0; i--) hr[i] = max(tow[i],i<(n-1) ? hr[i+1]:0);

int ans = 0;

for (int i = 0; i < n; i++) ans += min

Answered by sahil5416
3

Explanation:

1. The rain will collect in gutters that channel the water into downspouts and then into some sort of storage vessel. Rainwater collection systems can be as simple as collecting rain in a rain barrel or as elaborate as harvesting rainwater into large cisterns to supply your entire household demand.

4. Bachendri pal

Similar questions
Math, 9 months ago