← Home
For problem statement at 1000-1999/1600-1699/1600-1609/1603/problemB.txt this is a correct solution, but verifier at 1000-1999/1600-1699/1600-1609/1603/verifierB.go ends with case 1 failed: expected 938165808 got 2695060
input:
1347530 938450736
exit status 1 can you fix the verifier? ```go
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 x, y int64
		fmt.Fscan(in, &x, &y)
		if x == y {
			fmt.Fprintln(out, x)
		} else {
			fmt.Fprintln(out, 2*x)
		}
	}
}
```