@@ -0,0 +1,351 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=10240%0A%0Apublic class ShorterSuperSum %7B%0A%09public static int calculate(int k, int n) %7B%0A%09%09if (k == 0) %7B%0A%09%09%09int superSum = n;%0A%09%09%09%0A%09%09%09return superSum;%0A%09%09%7D%0A%09%09else %7B%0A%09%09%09int superSum = 0;%0A%09%09%09%0A%09%09%09for (int i = 1; i %3C= n; ++i) %7B%0A%09%09%09%09superSum += calculate(k-1, i);%0A%09%09%09%7D%0A%09%09%09%0A%09%09%09return superSum;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create ShorterSuperSum.java