mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-07 18:10:29 +08:00
Up goreport score
This commit is contained in:
@ -2,7 +2,7 @@ package leetcode
|
|||||||
|
|
||||||
func countGoodRectangles(rectangles [][]int) int {
|
func countGoodRectangles(rectangles [][]int) int {
|
||||||
minLength, count := 0, 0
|
minLength, count := 0, 0
|
||||||
for i, _ := range rectangles {
|
for i := range rectangles {
|
||||||
minSide := 0
|
minSide := 0
|
||||||
if rectangles[i][0] <= rectangles[i][1] {
|
if rectangles[i][0] <= rectangles[i][1] {
|
||||||
minSide = rectangles[i][0]
|
minSide = rectangles[i][0]
|
||||||
|
Reference in New Issue
Block a user