diff --git a/src/algorithm/TwoSumFast.java b/src/algorithm/TwoSumFast.java index 6b5d98d..ce7f55e 100644 --- a/src/algorithm/TwoSumFast.java +++ b/src/algorithm/TwoSumFast.java @@ -43,7 +43,7 @@ public class TwoSumFast { " ]\n" + " },\n" + " \"_class\": \"com.middle.dao.domain.RecallLaunch\""; - String[] strings = new In("test.txt").; + String[] strings = new In("test.txt").readAllStrings(); StringBuffer ret = new StringBuffer(); for (String string : strings) {