Skip to content

Commit dfe2b8a

Browse files
authored
Merge pull request soapyigu#296 from kkj1996/fix_EvaluateDivision.swift
fix EvaluateDivision.swift error: wrong answer
2 parents 3ac8b91 + 2ca90af commit dfe2b8a

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)