This commit is contained in:
ciuak 2019-06-15 22:30:47 +02:00
parent c9f597e9a0
commit de51f17ff3
1 changed files with 2 additions and 2 deletions

View File

@ -10,11 +10,11 @@ func main() {
scanner := bufio.NewScanner(os.Stdin)
for scanner.Scan() {
in := scanner.Text()
res, err := jvozba.Jvozba(in)
res, err := Jvozba(in)
if err != nil {
fmt.Printf("got error: %v\n", err)
} else {
fmt.Printf("%s → %s (%d)\n", in, res, jvozba.Score(res))
fmt.Printf("%s → %s (%d)\n", in, res, Score(res))
}
}
}