@@ -0,0 +1,765 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=10294%0A%0Apublic class SkiFriction %7B%0A%09public static int bestPosition(String skiFriction, String pathFriction) %7B%0A%09%09int timeRequired = 0;%0A%09%0A%09%09for (int i = 0; i %3C pathFriction.length() - skiFriction.length(); ++i) %7B%0A%09%09%09int maxTotalFriction = 0;%0A%09%09%09%0A%09%09%09for (int j = 0; j %3C skiFriction.length(); ++j) %7B%0A%09%09%09%09int skiSegmentFriction = Character.getNumericValue( skiFriction.charAt(j) );%0A%09%09%09%09int pathSegmentFriction = Character.getNumericValue ( pathFriction.charAt(i+j) );%0A%09%09%09%09%0A%09%09%09%09int totalFriction = skiSegmentFriction + pathSegmentFriction;%0A%09%09%09%09if (totalFriction %3E maxTotalFriction) %7B%0A%09%09%09%09%09maxTotalFriction = totalFriction;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09%0A%09%09%09timeRequired += maxTotalFriction;%0A%09%09%7D%0A%09%09%0A%09%09return timeRequired;%0A%09%7D%0A%7D%0A

Create SkiFriction.java