For problem statement at 0-999/200-299/200-209/203/problemA.txt this is a correct solution, but verifier at 0-999/200-299/200-209/203/verifierA.go ends with All 100 tests passed can you fix the verifier? package main
import "fmt"
func main() {
var x, t, a, b, da, db int
fmt.Scan(&x, &t, &a, &b, &da, &db)
if x == 0 {
fmt.Println("YES")
return
}
for i := 0; i < t; i++ {
s1 := a - i*da
if s1 == x {
fmt.Println("YES")
return
}
s2 := b - i*db
if s2 == x {
fmt.Println("YES")
return
}
}
for i := 0; i < t; i++ {
s1 := a - i*da
for j := 0; j < t; j++ {
s2 := b - j*db
if s1+s2 == x {
fmt.Println("YES")
return
}
}
}
fmt.Println("NO")
}