100 doors: Difference between revisions
Content deleted Content added
Added Fōrmulæ |
→{{header|Go}}: use array instead of slice since it doesn't need to change after creation |
||
Line 4,573: | Line 4,573: | ||
func main() { |
func main() { |
||
doors := |
doors := [100]bool{} |
||
// the 100 passes called for in the task description |
// the 100 passes called for in the task description |