100 doors: Difference between revisions

Content deleted Content added
Laurence (talk | contribs)
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 := make([]bool, 100)
doors := [100]bool{}


// the 100 passes called for in the task description
// the 100 passes called for in the task description