Skip to content

Commit c268c8c

Browse files
authored
Merge branch 'master' into patch-3
2 parents 8f56445 + b098e98 commit c268c8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

atcoder/_scc.py

+1-2
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)