For problem statement at 2000-2999/2100-2199/2170-2179/2171/problemD.txt this is a correct solution, but verifier at 2000-2999/2100-2199/2170-2179/2171/verifierD.go ends with All tests passed can you fix the verifier? package main
import (
"bufio"
"fmt"
"os"
)
func main() {
in := bufio.NewReader(os.Stdin)
var g, c, l int
fmt.Fscan(in, &g, &c, &l)
minv, maxv := g, g
if c < minv {
minv = c
}
if l < minv {
minv = l
}
if c > maxv {
maxv = c
}
if l > maxv {
maxv = l
}
if maxv-minv >= 10 {
fmt.Print("check again")
} else {
median := g + c + l - minv - maxv
fmt.Printf("final %d", median)
}
}