← Home
For problem statement at 1000-1999/1100-1199/1180-1189/1183/problemC.txt this is a correct solution, but verifier at 1000-1999/1100-1199/1180-1189/1183/verifierC.go ends with oracle runtime error on case 1: exec: "oracleC": executable file not found in $PATH
exit status 1 can you fix the verifier? package main

import "fmt"

func main() {
	var q int64
	fmt.Scan(&q)
	for i := int64(0); i < q; i++ {
		var k, n, a, b int64
		fmt.Scan(&k, &n, &a, &b)
		d := a - b
		temp := k - 1
		nb := n * b
		if nb > temp {
			fmt.Println(-1)
		} else {
			numa := temp - nb
			x := numa / d
			if x > n {
				x = n
			}
			fmt.Println(x)
		}
	}
}