@@ -0,0 +1,807 @@
+// http://codeforces.com/problemset/problem/962/A%0A%0Aimport java.util.Scanner;%0Aimport java.util.stream.IntStream;%0A%0Apublic class Solution %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner read = new Scanner(System.in);%0A%0A%09%09int n = read.nextInt();%0A%09%09%0A%09%09int%5B%5D a = new int%5Bn%5D;%0A%09%09for (int i = 0; i %3C n; ++i) %7B%0A%09%09%09a%5Bi%5D = read.nextInt();%0A%09%09%7D%0A%09%09%0A%09%09int totalNumberOfProblems = IntStream.of(a).sum();%0A%09%09int halfOfNumberOfProblems = %0A%09%09%09(totalNumberOfProblems %25 2 == 0) %0A%09%09%09? (totalNumberOfProblems/2)%0A%09%09%09: (totalNumberOfProblems/2) + 1;%0A%09%0A%09%09int numberOfProblems = 0;%0A%09%09int dayIndex = 0;%0A%09%09for (int i = 0; i %3C n; ++i) %7B%0A%09%09%09numberOfProblems += a%5Bi%5D;%0A%09%09%09dayIndex++;%0A%09%09%09if (numberOfProblems %3E= halfOfNumberOfProblems) %7B%0A%09%09%09%09break;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09System.out.println(dayIndex);%0A%09%09%0A%09%09// Close scanner%0A%09%09read.close();%0A%09%7D%0A%7D%0A

Create Equator.java