@@ -0,0 +1,777 @@
+//https://www.hackerrank.com/challenges/plus-minus%0Aimport java.io.*;%0A%0Apublic class Solution %7B%0A  public static void main(String%5B%5D args) throws IOException %7B%0A    final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A      %0A    //Get array size%0A    final int N = Integer.parseInt(br.readLine());%0A    %0A    //Get integers and analyze%0A    int numPos = 0;%0A    int numZero = 0;%0A    int numNeg = 0;%0A    for(String s : br.readLine().split(%22 %22))%7B%0A      int v = Integer.parseInt(s);%0A      if(v %3E 0)%7B%0A        ++numPos;%0A      %7D else if (v %3C 0)%7B%0A        ++numNeg;%0A      %7D else %7B%0A        ++numZero;%0A      %7D%0A    %7D%0A    %0A    //Print fractions%0A    System.out.println(1.0*numPos / N);%0A    System.out.println(1.0*numNeg / N);%0A    System.out.println(1.0*numZero / N);%0A  %7D%0A%7D%0A

Create plus-minus.java