Accept binary integer and print does not work. Rest all works

fmt.Scanf("%v") will only parse valid integer literals, and as you can see in the languages spec about integer literals, there is simply no way to express a binary integer.

2 Likes