← Home
For problem statement at 1000-1999/1800-1899/1890-1899/1896/problemA.txt this is a correct solution, but verifier at 1000-1999/1800-1899/1890-1899/1896/verifierA.go ends with all tests passed can you fix the verifier? ```go
package main

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

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

	var t int
	fmt.Fscan(in, &t)

	for i := 0; i < t; i++ {
		var n int
		fmt.Fscan(in, &n)

		possible := false
		for j := 0; j < n; j++ {
			var x int
			fmt.Fscan(in, &x)
			if j == 0 && x == 1 {
				possible = true
			}
		}

		if possible {
			fmt.Fprintln(out, "YES")
		} else {
			fmt.Fprintln(out, "NO")
		}
	}
}
```