kkdp's blog

By kkdp, history, 6 years ago, In English

This question was asked in placement exam of a Company. I was not able to understand this problem.

CLick here to See the question

The first line of input contains N which is number of jugs and next line contains N integers representing number of balls in the jug.

Input:

1

10

Output:

10

Please, someone help me to understand this problem, and if possible suggest a solution as well.

Full text and comments »

  • Vote: I like it
  • -12
  • Vote: I do not like it