Maximum triangle path sum: Difference between revisions

Add APL
(Added XPL0 example.)
(Add APL)
Line 237:
+1320
</pre>
 
=={{header|APL}}==
{{works with|Dyalog APL}}
<syntaxhighlight lang="apl">parse ← ⍎¨(~∊)∘⎕TC⊆⊢
maxpath ← ⊃(⊣+2⌈/⊢)/
⎕ ← maxpath parse ⊃⎕NGET'G:\triangle.txt'</syntaxhighlight>
{{out}}
<pre>1320</pre>
 
=={{header|AppleScript}}==
2,115

edits