Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 committed Oct 23, 2023
1 parent be99bb8 commit c0cd83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Round 2/wiki_race.py3
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def wiki_race():
if cnt == len(adj[u]):
ret[0] = 1
continue
if cnt == len(adj[u])-1:
if cnt+1 == len(adj[u]):
ret[0] = int(x in S[u])
continue
return 0
Expand Down

0 comments on commit c0cd83b

Please sign in to comment.