For problem statement at 1000-1999/1400-1499/1420-1429/1426/problemB.txt this is a correct solution, but verifier at 1000-1999/1400-1499/1420-1429/1426/verifierB.go ends with All tests passed can you fix the verifier? package main
import (
"bufio"
"fmt"
"os"
)
func main() {
in := bufio.NewReaderSize(os.Stdin, 1<<20)
out := bufio.NewWriterSize(os.Stdout, 1<<20)
defer out.Flush()
var t int
fmt.Fscan(in, &t)
for ; t > 0; t-- {
var n, m int
fmt.Fscan(in, &n, &m)
ok := false
for i := 0; i < n; i++ {
var a, b, c, d int
fmt.Fscan(in, &a, &b)
fmt.Fscan(in, &c, &d)
if b == c {
ok = true
}
}
if m%2 == 0 && ok {
fmt.Fprintln(out, "YES")
} else {
fmt.Fprintln(out, "NO")
}
}
}