Hackerrank – A Very Big Sum

Problem Statement
A description of the problem can be found on Hackerrank.

Solution
Read from input and sum all numbers.

Same as Simple Array Sum, but you have to use bigger integer type as 32-bit integer if language does not support automatic conversion to Big Integers as default

I created solution in 4 languages:

All solutions are also available on my GitHub.

Scala

Java

JavaScript

Ruby