no way
This commit is contained in:
parent
c9f597e9a0
commit
de51f17ff3
4
main.go
4
main.go
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue