diff --git a/content/3_Silver/More_Prefix_Sums.mdx b/content/3_Silver/More_Prefix_Sums.mdx index f7aa6f5f3c..4996a98b46 100644 --- a/content/3_Silver/More_Prefix_Sums.mdx +++ b/content/3_Silver/More_Prefix_Sums.mdx @@ -82,8 +82,9 @@ public class MaxSubSum { public static void main(String[] args) throws IOException { BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); read.readLine(); - int[] arr = Arrays.stream(read.readLine().split(" ") - .mapToInt(Integer::parseInt).toArray(); + int[] arr = Arrays.stream(read.readLine().split(" ")) + .mapToInt(Integer::parseInt) + .toArray(); long maxSubSum = arr[0]; long runningPrefSum = 0;