For problem statement at 1000-1999/1000-1099/1010-1019/1011/problemB.txt this is a correct solution, but verifier at 1000-1999/1000-1099/1010-1019/1011/verifierB.go ends with All tests passed can you fix the verifier? package main
import (
"fmt"
)
func main() {
var n, m int
fmt.Scan(&n, &m)
counts := make([]int, 101)
for i := 0; i < m; i++ {
var a int
fmt.Scan(&a)
counts[a]++
}
for d := 100; d >= 1; d-- {
people := 0
for _, c := range counts {
people += c / d
}
if people >= n {
fmt.Println(d)
return
}
}
fmt.Println(0)
}