/**
 * Created by william on 11/27/2015.
 */
public class Solution {
    public static final class Resolver {
        public static String[] resolve(int size) {
            final String[] outputs = new String[size];
            for (int i = 0; i < size; i++) {
                final StringBuilder sb = new StringBuilder();
                for (int j = 0; j < size - (i + 1); j++) {
                    sb.append(' ');
                }
                for (int j = (size - (i + 1)); j < size; j++) {
                    sb.append('#');
                }
                outputs[i] = sb.toString();
            }

            return outputs;
        }
    }

}

@@ -1,8 +1,67 @@
+import java.util.Scanner;%0Aimport java.util.stream.Stream;%0A%0A
 /**%0A * C
@@ -121,16 +121,316 @@
 ution %7B%0A
+    public static void main(String%5B%5D args) %7B%0A%0A        try (Scanner in = new Scanner(System.in)) %7B%0A            final int size = Integer.valueOf(in.nextLine());%0A%0A            final String%5B%5D outputs = Resolver.resolve(size);%0A%0A            Stream.of(outputs).forEach(System.out::println);%0A        %7D%0A    %7D%0A%0A
     publ

implement input/output logic for hackerrank submission