← Home
For problem statement at 1000-1999/1300-1399/1320-1329/1328/problemA.txt this is a correct solution, but verifier at 1000-1999/1300-1399/1320-1329/1328/verifierA.go ends with All tests passed can you fix the verifier? ```go
package main

import "fmt"

func main() {
	var t int
	fmt.Scan(&t)
	for i := 0; i < t; i++ {
		var a, b int64
		fmt.Scan(&a, &b)
		rem := a % b
		if rem == 0 {
			fmt.Println(0)
		} else {
			fmt.Println(b - rem)
		}
	}
}
```