For problem statement at 0-999/300-399/300-309/304/problemA.txt this is a correct solution, but verifier at 0-999/300-399/300-309/304/verifierA.go ends with All tests passed can you fix the verifier? package main
import (
"fmt"
)
func main() {
var n int
fmt.Scan(&n)
count := 0
for c := 1; c <= n; c++ {
c2 := c * c
a := 1
b := c - 1
for a <= b {
sum := a*a + b*b
if sum == c2 {
count++
a++
b--
} else if sum < c2 {
a++
} else {
b--
}
}
}
fmt.Println(count)
}