Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 78d905a

Browse files
committed
974 小修改
1 parent 6896f7e commit 78d905a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Algorithms/0974.subarray-sums-divisible-by-k/subarray-sums-divisible-by-k.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package problem0974
22

33
func subarraysDivByK(A []int, K int) int {
4-
count := [10001]int{}
4+
count := [10000]int{}
55
count[0] = 1
66
prefix, res := 0, 0
77
for _, a := range A {

0 commit comments

Comments
 (0)