@@ -0,0 +1,501 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=13678%0A%0Apublic class ValueOfString %7B%0A%09public static int findValue(String s) %7B%0A%09%09int stringValue = 0;%0A%09%09%0A%09%09for (int i = 0; i %3C s.length(); ++i) %7B%0A%09%09%09int currentCharValue = ((int) s.charAt(i)) - 96; // 'a' has an ASCII code of 97%0A%09%09%09for (int j = 0; j %3C s.length(); ++j) %7B%0A%09%09%09%09int charValue = ((int) s.charAt(j)) - 96;%0A%09%09%09%09if (charValue %3C= currentCharValue) %7B%0A%09%09%09%09%09stringValue += currentCharValue;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return stringValue;%0A%09%7D%0A%7D%0A

Create ValueOfString.java