Skip to content

Third commit-yashjain - #9

Open
yashjain0112 wants to merge 1 commit into
sadanatushar:masterfrom
yashjain0112:master
Open

Third commit-yashjain#9
yashjain0112 wants to merge 1 commit into
sadanatushar:masterfrom
yashjain0112:master

Conversation

@yashjain0112

Copy link
Copy Markdown

Calculate and print the sum of the elements in an array, keeping in mind that some of those integers may be quite large.

Function Description

Complete the aVeryBigSum function in the editor below. It must return the sum of all array elements.

aVeryBigSum has the following parameter(s):

ar: an array of integers .
Input Format

The first line of the input consists of an integer .
The next line contains space-separated integers contained in the array.

Output Format

Print the integer sum of the elements in the array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant