Jump to content

Solve hanging lantern problem: Difference between revisions

m
(→‎{{header|APL}}: Credit source of formula, add more examples, use iota.)
Line 47:
 
=={{header|APL}}==
{{trans|Pascal}}
<lang apl>lanterns ← { (!+/⍵) ÷ ×/!⍵ }</lang>
{{Out}}
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.