Skip to content

Commit b6bedd4

Browse files
authored
Update 9.cpp
1 parent 5bbee8c commit b6bedd4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

10/9.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ void topologySort() {
3232
// 큐에서 원소 꺼내기
3333
int now = q.front();
3434
q.pop();
35-
result.push_back(now);
3635
// 해당 원소와 연결된 노드들의 진입차수에서 1 빼기
3736
for (int i = 0; i < graph[now].size(); i++) {
3837
result[graph[now][i]] = max(result[graph[now][i]], result[now] + times[graph[now][i]]);

0 commit comments

Comments
 (0)