← Home
For problem statement at 0-999/500-599/550-559/554/problemA.txt this is a correct solution, but verifier at 0-999/500-599/550-559/554/verifierA.go ends with All 100 tests passed can you fix the verifier? ```go
package main

import "fmt"

func main() {
	var s string
	fmt.Scan(&s)
	n := len(s)
	// We can insert 26 different characters at n + 1 positions.
	// Total raw combinations = 26 * (n + 1).
	// However, duplicates occur. Inserting a character 'c' immediately
	// before or after an existing 'c' results in the same string.
	// For every character already in the string, 1 insertion is redundant.
	// Total distinct strings = Total raw combinations - n.
	fmt.Println(26*(n+1) - n)
}
```