H variable not filled in 'ASCII Art' puzzle

I use the Go programming language and when doing the ASCII Art puzzle the variable H would always be 0.

Changing:

scanner.Scan() fmt.Sscan(scanner.Text(),&L, &H)
To:

scanner.Scan() fmt.Sscan(scanner.Text(), &L) scanner.Scan() fmt.Sscan(scanner.Text(), &H)

Seems to do the trick.

Well, it’s a general problem with the Go version of puzzles.

Well spotted, this problem will be corrected shortly.

Thank you for your input,
Julien.
Keep Coding :slight_smile:

1 Like