Up goreport score

This commit is contained in:
halfrost
2022-09-09 20:20:20 +08:00
parent e227edf55a
commit dff1d84e1e
4 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ package leetcode
func countGoodRectangles(rectangles [][]int) int {
minLength, count := 0, 0
for i, _ := range rectangles {
for i := range rectangles {
minSide := 0
if rectangles[i][0] <= rectangles[i][1] {
minSide = rectangles[i][0]