Skip to content

Commit b098e98

Browse files
authored
Merge pull request #56 from masa-aa/patch-1
Update _scc.py
2 parents a30b7e5 + e4e3973 commit b098e98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

atcoder/_scc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import copy
21
import sys
32
import typing
43

@@ -15,7 +14,7 @@ def __init__(
1514
for i in range(1, n + 1):
1615
self.start[i] += self.start[i - 1]
1716

18-
counter = copy.deepcopy(self.start)
17+
counter = self.start.copy()
1918
for e in edges:
2019
self.elist[counter[e[0]]] = e[1]
2120
counter[e[0]] += 1

0 commit comments

Comments
 (0)