@@ -0,0 +1,1008 @@
+package algorithms.warmup;%0D%0A%0D%0Aimport java.util.Scanner;%0D%0A%0D%0A/*%0D%0A * Problem Statement: %0D%0A * You are given an array of integers of size N. You need to print the sum of%0D%0A * the elements of the array.%0D%0A * %0D%0A * Input Format: %0D%0A * The first line of the input consists of an integer N. The next line contains%0D%0A * N space-separated integers describing the array.%0D%0A * %0D%0A * Constraints:%0D%0A * 1 %3C= N %3C= 10%0D%0A * 0 %3C= A%5Bi%5D %3C= 10%5E10%0D%0A * %0D%0A * Output Format: %0D%0A * Output a single value equal to the sum of the elements of the array.%0D%0A * %0D%0A * Sample Input:%0D%0A * 5%0D%0A * 1000000001 1000000002 1000000003 1000000004 1000000005%0D%0A * %0D%0A * Sample Output:%0D%0A * 5000000015%0D%0A */%0D%0Apublic class AVeryBigSum %7B%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A        Scanner sc = new Scanner(System.in);%0D%0A        int numElements = sc.nextInt();%0D%0A        %0D%0A        long sum = 0;%0D%0A        for (int i = 0; i %3C numElements; i++) %7B%0D%0A            sum += sc.nextLong();%0D%0A        %7D%0D%0A        sc.close();%0D%0A        %0D%0A        System.out.println(sum);%0D%0A    %7D%0D%0A%7D

Add AVeryBigSum