Skip to content

Commit 2ca90af

Browse files
committed
fix EvaluateDivision.swift error: wrong answer
1 parent 3ac8b91 commit 2ca90af

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

BFS/EvaluateDivision.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ class EvaluateDivision {
7575
qStrs.append(str)
7676
qVals.append(currentVal * val)
7777
}
78-
79-
80-
rest.append(-1.0)
8178
}
79+
rest.append(-1.0)
8280
}
8381
}

0 commit comments

Comments
 (0)