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 Feb 19, 2024
1 parent ed93ea3 commit 9382b30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions content/3_Silver/Func_Graphs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,7 @@ public class Badge {
if (ans[i] == -1) { floyd(i); }
}

for (int i = 0; i < n; i++) {
System.out.print(ans[i]+1+" ");
}
for (int i = 0; i < n; i++) { System.out.print(ans[i] + 1 + " "); }
}

private static void floyd(int x) {
Expand Down

0 comments on commit 9382b30

Please sign in to comment.