Closed shiodat closed 7 years ago
L391 is called many times (worst case, a number of all rows ?). If inserting min/max call before scores.push_back, min/max is called constant times and returns approximately same result.
@kazuki Thank you for your review. I fix the min/max
to be called only constant times.
I confirm this PR fixes #355 and there is no syntax error by cpplint.
This PR fixes #355.