← Home
For problem statement at 0-999/200-299/250-259/257/problemB.txt this is a correct solution, but verifier at 0-999/200-299/250-259/257/verifierB.go ends with All 100 tests passed. can you fix the verifier? package main

import "fmt"

func main() {
	var n, m int
	fmt.Scan(&n, &m)
	if n > m {
		fmt.Println(n-1, m)
	} else {
		fmt.Println(m-1, n)
	}
}