// Proof: Set n to a number >= 39 in the following program: func main() { const ( b = byte(0xc0) n = 9 ) s := []string{string(b)} for i := 0; i < n; i++ { s = append(s, []string{""}...) } for i := 0; i < n; i++ { for j := 0; j < len(s[i]); j++ { s[i+1] += string(s[i][j]) } } println(len(s[n]), len(s[n]) == 1<<(n+1)) }
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/51bce820-1129-4648-af50-df18c2334dean%40googlegroups.com.