*_mult avoided

This commit is contained in:
Sergey Ignatov
2011-11-07 13:36:12 +04:00
parent 4e6e488e28
commit 992675a1bc
104 changed files with 4 additions and 18 deletions
@@ -0,0 +1 @@
test: for (int i = 0; i <= max; i++) { int n = substring.length(); int j = i; int k = 0; while (n-- != 0) { if (searchMe.charAt(j++) != substring.charAt(k++)) { continue test; } } foundIt = true; break test; } System.out.println(foundIt ? "Found it" : "Didn't find it"); }}