← Home
For problem statement at 1000-1999/1400-1499/1440-1449/1445/problemB.txt this is a correct solution, but verifier at 1000-1999/1400-1499/1440-1449/1445/verifierB.go ends with case 1 failed: expected 7 got 0
exit status 1 can you fix the verifier? ```go
package main

import (
	"bufio"
	"fmt"
	"os"
)

func min(a, b int) int {
	if a < b {
		return a
	}
	return b
}

func main() {
	in := bufio.NewReader(os.Stdin)
	out := bufio.NewWriter(os.Stdout)
	defer out.Flush()

	var t int
	fmt.Fscan(in, &t)
	for ; t > 0; t-- {
		var a, b, c, d int
		fmt.Fscan(in, &a, &b, &c, &d)
		ans := min(a+d, b+c)
		fmt.Fprintln(out, ans)
	}
}
```