Skip to content

Commit c89c447

Browse files
authored
Update the-time-when-the-network-becomes-idle.cpp
1 parent 055efab commit c89c447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/the-time-when-the-network-becomes-idle.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Solution {
1616
while (!empty(q)) {
1717
vector<int> new_q;
1818
for (const auto& u : q) {
19-
for (int v : adj[u]) {
19+
for (const auto& v : adj[u]) {
2020
if (lookup[v]) {
2121
continue;
2222
}

0 commit comments

Comments
 (0)