← Home
For problem statement at 0-999/100-199/110-119/112/problemA.txt this is a correct solution, but verifier at 0-999/100-199/110-119/112/verifierA.go ends with All 100 tests passed can you fix the verifier? package main

import (
	"fmt"
	"strings"
)

func main() {
	var a, b string
	fmt.Scan(&a, &b)
	a = strings.ToLower(a)
	b = strings.ToLower(b)
	if a < b {
		fmt.Println(-1)
	} else if a > b {
		fmt.Println(1)
	} else {
		fmt.Println(0)
	}
}