Skip to content

Commit

Permalink
reduce loop
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 21, 2025
1 parent 53291e7 commit 64e308b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Data {

for &i in &cycle {
for &j in &cycle {
if i == j {
if i <= j {
continue;
}

Expand Down

0 comments on commit 64e308b

Please sign in to comment.