package main
import ("fmt"
"strconv"
"math")
func main() {
t := strconv.Itoa(57890)
fmt.Println("Tamanho matematicamente calculado:", math.Floor(math.Log10(math.Abs((57890)))) + 1)
for i := 0; i < len(t); i++ {
fmt.Printf("%c\n", t[i])
}
}
//https://pt.stackoverflow.com/q/208028/101
cGFja2FnZSBtYWluCmltcG9ydCAoImZtdCIKICAgICAgICAic3RyY29udiIKICAgICAgICAibWF0aCIpCgpmdW5jIG1haW4oKSB7Cgl0IDo9IHN0cmNvbnYuSXRvYSg1Nzg5MCkKICAgIGZtdC5QcmludGxuKCJUYW1hbmhvIG1hdGVtYXRpY2FtZW50ZSBjYWxjdWxhZG86IiwgbWF0aC5GbG9vcihtYXRoLkxvZzEwKG1hdGguQWJzKCg1Nzg5MCkpKSkgKyAxKQogICAgZm9yIGkgOj0gMDsgaSA8IGxlbih0KTsgaSsrIHsKICAgICAgICBmbXQuUHJpbnRmKCIlY1xuIiwgdFtpXSkKCX0KfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjA4MDI4LzEwMQ==