Skip to content

Commit

Permalink
Merge pull request #4328 from abhideepd/patch0
Browse files Browse the repository at this point in the history
Update Func_Graphs.mdx
  • Loading branch information
SansPapyrus683 authored Feb 19, 2024
2 parents dd613b1 + 9382b30 commit 805776b
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++) {
cout << (ans[i] + 1) << " \n"[i == n - 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 805776b

Please sign in to comment.