Computer Science, asked by maliyaan4097, 24 days ago

A company has N teams.The i’th team has a total budget of Ai units of money and it has Bi workers in it. Each team has to divide their budget within their workers equally. But for some teams, it's not possible to divide the budget equally.
Therefore, the company have to perform revisions in the teams' budget sizes.
In one revision, to revise the budget of i’th team, the budget of the first i teams has to be increased by 1.
Your task is to find the minimum number of revisions needed so that for each team, equal distribution of their budget among the workers is possible.

Answers

Answered by iamshubhigoyal
1

Answer:

The answer of this question is available in brainly page you can type and search ur answer there.. Mene bhi abhi dekha hai

Similar questions