Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 26, 2024
1 parent d3c94f4 commit ceef727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/3_Silver/More_Prefix_Sums.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public class MaxSubSum {
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
read.readLine();
int[] arr = Arrays.stream(read.readLine().split(" "))
.mapToInt(Integer::parseInt).toArray();
.mapToInt(Integer::parseInt)
.toArray();

long maxSubSum = arr[0];
long runningPrefSum = 0;
Expand Down

0 comments on commit ceef727

Please sign in to comment.