← Home
For problem statement at 0-999/0-99/40-49/44/problemA.txt this is a correct solution, but verifier at 0-999/0-99/40-49/44/verifierA.go ends with All tests passed can you fix the verifier? package main

import (
	"fmt"
)

func main() {
	var n int
	fmt.Scan(&n)
	leaves := make(map[string]bool)
	var species, color string
	for i := 0; i < n; i++ {
		fmt.Scan(&species, &color)
		leaves[species+" "+color] = true
	}
	fmt.Println(len(leaves))
}