Marks :10
: 1 | : 0
Given an array $$$a$$$ consisting of $$$n$$$ non-negative integers, the following operation can be carried out any number of times:
The first line of input consists of an integer $$$n$$$ $$$-$$$ the total number of elements in the array. The second line consists of $$$n$$$ space separated integers - the elements of the array.
Output a single integer - the minimum possible sum of the elements of the array after carrying out all operations.
3 2 2 4
9
You need to login to view your submissions.
You need to login to view all submissions.
Result : Executed
Feel something is wrong with the test cases?
Result : Accepted
Test Cases :
But to Run or Submit the Problem, you need to Log In.
Continue to Log InYour challenge has been submitted successfully.
You will get a response soon via WhatsApp or Email.
Do let us know your issue.